Skip to content

Commit 46c7534

Browse files
committed
fix parsing error from shell
1 parent 13ccb23 commit 46c7534

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/parallel/test-preload.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ childProcess.exec(
7676
assert.strictEqual(stdout, 'smoosh\n');
7777
}
7878
);
79-
const workerSrc = `new (require('worker_threads').Worker)(${fixtureF});`;
79+
const workerSrc = `'new (require("worker_threads").Worker)("${fixtureF}");'`;
8080
childProcess.exec(
8181
`"${
8282
nodeBinary

0 commit comments

Comments
 (0)