Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
arcanis committed Sep 20, 2022
1 parent 3571383 commit e369572
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/parallel/test-worker-process-env-options.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
'use strict';
require('../common');
const { Worker } = require('node:worker_threads');

if (!require.main) {
globalThis.setup = true;
} else {
process.env.NODE_OPTIONS ??= ``;
process.env.NODE_OPTIONS ??= '';
process.env.NODE_OPTIONS += ` --require ${JSON.stringify(__filename)}`;

new Worker(`
Expand Down

0 comments on commit e369572

Please sign in to comment.