Skip to content

Commit c817a88

Browse files
authored
fix: add missed preferLocal option for execa call (#458)
1 parent 43b15c9 commit c817a88

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/prepare.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ module.exports = async (npmrc, {tarballDir, pkgRoot}, {cwd, env, stdout, stderr,
1313
{
1414
cwd: basePath,
1515
env,
16+
preferLocal: true,
1617
}
1718
);
1819
versionResult.stdout.pipe(stdout, {end: false});

0 commit comments

Comments
 (0)