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 04dc1cd commit 8723545Copy full SHA for 8723545
test/fixtures/cluster-preload.js
@@ -4,8 +4,8 @@ var assert = require('assert');
4
// this module is used as a preload module. It should have a parent with the
5
// module search paths initialized from the current working directory
6
assert.ok(module.parent);
7
-var expectedPaths = require('module')._nodeModulePaths(process.cwd());
8
-assert.deepEqual(module.parent.paths, expectedPaths);
+const expectedPaths = require('module')._nodeModulePaths(process.cwd());
+assert.deepStrictEqual(module.parent.paths, expectedPaths);
9
10
var cluster = require('cluster');
11
cluster.isMaster || process.exit(42 + cluster.worker.id); // +42 to distinguish
0 commit comments