Skip to content

Commit

Permalink
avoid out of memory
Browse files Browse the repository at this point in the history
  • Loading branch information
chemzqm committed Oct 28, 2022
1 parent 9024602 commit 8d25863
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/__tests__/modules/extensionAll.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ describe('Test dependencies ', () => {
// optionalDependencies
console.log(`total: ${names.length}`)
let registry = new URL('https://registry.npmjs.org/')
let session = new DependencySession(registry, os.tmpdir())

for (let name of names) {
let session = new DependencySession(registry, os.tmpdir())
console.log(`Checking module ${name}`)
try {
let dep = session.createInstaller(os.tmpdir(), () => {})
Expand Down

0 comments on commit 8d25863

Please sign in to comment.