Skip to content

Commit

Permalink
benchmark: prefer node import syntax for built-in child_process
Browse files Browse the repository at this point in the history
  • Loading branch information
thisalihassan committed Mar 30, 2024
1 parent 9f7132d commit 9ac9d79
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion benchmark/compare.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict';

const { spawn, fork } = require('child_process');
const { spawn, fork } = require('node:child_process');
const { inspect } = require('util');
const path = require('path');
const CLI = require('./_cli.js');
Expand Down
2 changes: 1 addition & 1 deletion benchmark/run.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use strict';

const path = require('path');
const { spawn, fork } = require('child_process');
const { spawn, fork } = require('node:child_process');
const CLI = require('./_cli.js');

const cli = new CLI(`usage: ./node run.js [options] [--] <category> ...
Expand Down

0 comments on commit 9ac9d79

Please sign in to comment.