Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d0631a commit 2f8dcefCopy full SHA for 2f8dcef
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