There was an error while loading. Please reload this page.
1 parent 0e231d4 commit e2f1f7bCopy full SHA for e2f1f7b
1 file changed
lib/commands/publish.js
@@ -83,7 +83,8 @@ class Publish extends BaseCommand {
83
})
84
}
85
86
- const tarballData = await pack(spec, opts)
+ // we pass dryRun: true to libnpmpack so it doesn't write the file to disk
87
+ const tarballData = await pack(spec, { ...opts, dryRun: true })
88
const pkgContents = await getContents(manifest, tarballData)
89
90
// The purpose of re-reading the manifest is in case it changed,
0 commit comments