Skip to content

Commit

Permalink
fix: do not try to fetch private packages
Browse files Browse the repository at this point in the history
  • Loading branch information
antongolub committed Jun 29, 2023
1 parent f49b463 commit a6889bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/js/processor.js
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ const build = memoizeBy(async (pkg, run = runCmd, flags = {}, self = build) => w

await Promise.all([
traverseDeps({pkg, packages: pkg.context.packages, cb: async({pkg}) => self(pkg, run, flags, self)}),
pkg.changes.length === 0 && pkg.config.npmFetch && flags.npmFetch !== false
pkg.manifest.private !== true && pkg.changes.length === 0 && pkg.config.npmFetch && flags.npmFetch !== false
? fetchPkg(pkg)
: Promise.resolve()
])
Expand Down

0 comments on commit a6889bb

Please sign in to comment.