Skip to content

Commit 6bcea5c

Browse files
committed
tools, test: update test-npm-package paths
Makes the same changes as 9946173 to update the test runner for npm5. PR-URL: #13441 Refs: #12936 Reviewed-By: Jan Krems <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Sakthipriyan Vairamani <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Refael Ackermann <[email protected]>
1 parent cc8fc46 commit 6bcea5c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tools/test-npm-package.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ const path = require('path');
2424
const common = require('../test/common');
2525

2626
const projectDir = path.resolve(__dirname, '..');
27-
const npmBin = path.join(projectDir, 'deps', 'npm', 'cli.js');
27+
const npmBin = path.join(projectDir, 'deps', 'npm', 'bin', 'npm-cli.js');
2828
const nodePath = path.dirname(process.execPath);
2929

3030
function spawnCopyDeepSync(source, destination) {
@@ -82,6 +82,7 @@ function runNPMPackageTests({ srcDir, install, rebuild, testArgs, logfile }) {
8282
npmBin,
8383
'install',
8484
'--ignore-scripts',
85+
'--no-save',
8586
], npmOptions);
8687
}
8788

0 commit comments

Comments
 (0)