mirror of
https://github.com/nodejs/node.git
synced 2024-11-21 10:59:27 +00:00
c52ebc06da
Object.assign() can be replaced by spread objects PR-URL: https://github.com/nodejs/node/pull/30423 Refs: https://eslint.org/docs/rules/prefer-object-spread Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
6 lines
182 B
JavaScript
6 lines
182 B
JavaScript
const { spawnSync } = require('child_process');
|
|
const env = { ...process.env, NODE_V8_COVERAGE: '' };
|
|
spawnSync(process.execPath, [require.resolve('./subprocess')], {
|
|
env: env
|
|
});
|