| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 7d0631a commit 2f8dcef
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -78,7 +78,7 @@ function test() { | |||
| 78 | 78 | ||
| 79 | 79 | // Also verify that symlinks works for setting preserve via env variables | |
| 80 | 80 | const childEnv = spawn(node, [linkScript], { | |
| 81 | - env: Object.assign({}, process.env, { NODE_PRESERVE_SYMLINKS: '1' }) | ||
| 81 | + env: { ...process.env, NODE_PRESERVE_SYMLINKS: '1' } | ||
| 82 | 82 | }); | |
| 83 | 83 | childEnv.on('close', function(code, signal) { | |
| 84 | 84 | assert.strictEqual(code, 0); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments