Skip to content

Commit

Permalink
test: fix test-v8-collect-gc-profile-in-worker.js
Browse files Browse the repository at this point in the history
PR-URL: #46735
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
  • Loading branch information
theanarkh authored and danielleadams committed Apr 5, 2023
1 parent 4065e5c commit ea71a2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/parallel/test-v8-collect-gc-profile-in-worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ require('../common');
const { Worker } = require('worker_threads');
const { testGCProfiler } = require('../common/v8');

if (process.env.isWorker) {
if (!process.env.isWorker) {
process.env.isWorker = 1;
new Worker(__filename);
} else {
Expand Down

0 comments on commit ea71a2a

Please sign in to comment.