Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fixup! test: do not require flags when executing a file
  • Loading branch information
BridgeAR committed Mar 24, 2019
commit e5e3d0d3a05d38ea96f91c443ab637d186c19abd
4 changes: 1 addition & 3 deletions test/common/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,7 @@ if (process.argv.length === 2 &&
const args = [...flags, ...process.execArgv, ...process.argv.slice(1)];
const options = { encoding: 'utf8', stdio: 'inherit' };
const result = spawnSync(process.execPath, args, options);
assert.ifError(result.error);
process.exit(result.status);
return;
process.exit(result.signal || result.status);
}
}
}
Expand Down