summaryrefslogtreecommitdiff
path: root/test/parallel/test-child-process-fork-exec-path.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/parallel/test-child-process-fork-exec-path.js')
-rw-r--r--test/parallel/test-child-process-fork-exec-path.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/parallel/test-child-process-fork-exec-path.js b/test/parallel/test-child-process-fork-exec-path.js
index e2f7e4b4d2..e9938d8ba1 100644
--- a/test/parallel/test-child-process-fork-exec-path.js
+++ b/test/parallel/test-child-process-fork-exec-path.js
@@ -1,8 +1,8 @@
'use strict';
const common = require('../common');
-var assert = require('assert');
-var fs = require('fs');
-var path = require('path');
+const assert = require('assert');
+const fs = require('fs');
+const path = require('path');
var msg = {test: 'this'};
var nodePath = process.execPath;
var copyPath = path.join(common.tmpDir, 'node-copy.exe');
@@ -25,7 +25,7 @@ if (process.env.FORK) {
// slow but simple
var envCopy = JSON.parse(JSON.stringify(process.env));
envCopy.FORK = 'true';
- var child = require('child_process').fork(__filename, {
+ const child = require('child_process').fork(__filename, {
execPath: copyPath,
env: envCopy
});