Skip to content

Commit

Permalink
test: remove unnecessary status check on test-release-npm
Browse files Browse the repository at this point in the history
Signed-off-by: RafaelGSS <rafael.nunu@hotmail.com>
PR-URL: #47516
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
  • Loading branch information
RafaelGSS committed Apr 13, 2023
1 parent c8f6f85 commit cf15437
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion test/parallel/test-release-npm.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ if (!releaseReg.test(process.version) || !common.hasCrypto) {

const npmCli = path.join(__dirname, '../../deps/npm/bin/npm-cli.js');
const npmExec = child_process.spawnSync(process.execPath, [npmCli]);
assert.strictEqual(npmExec.status, 1);

const stderr = npmExec.stderr.toString();
assert.strictEqual(stderr.length, 0, 'npm is not ready for this release ' +
Expand Down

0 comments on commit cf15437

Please sign in to comment.