We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ab25a82 commit aad324dCopy full SHA for aad324d
test/parallel/test-require-symlink.js
@@ -78,7 +78,7 @@ function test() {
78
79
// Also verify that symlinks works for setting preserve via env variables
80
const childEnv = spawn(node, [linkScript], {
81
- env: Object.assign({}, process.env, { NODE_PRESERVE_SYMLINKS: '1' })
+ env: { ...process.env, NODE_PRESERVE_SYMLINKS: '1' }
82
});
83
childEnv.on('close', function(code, signal) {
84
assert.strictEqual(code, 0);
0 commit comments