test: remove unnecessary status check on test-release-npm

Signed-off-by: RafaelGSS <rafael.nunu@hotmail.com>
PR-URL: https://github.com/nodejs/node/pull/47516
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
This commit is contained in:
RafaelGSS 2023-04-11 17:58:01 -03:00
parent dee953bb8a
commit e67b94416f

View File

@ -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 ' +