Skip to content

Commit

Permalink
fix parsing error from shell
Browse files Browse the repository at this point in the history
  • Loading branch information
bmeck committed Aug 2, 2019
1 parent 13ccb23 commit 46c7534
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/parallel/test-preload.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ childProcess.exec(
assert.strictEqual(stdout, 'smoosh\n');
}
);
const workerSrc = `new (require('worker_threads').Worker)(${fixtureF});`;
const workerSrc = `'new (require("worker_threads").Worker)("${fixtureF}");'`;
childProcess.exec(
`"${
nodeBinary
Expand Down

0 comments on commit 46c7534

Please sign in to comment.