Skip to content

Commit

Permalink
Fix: Use node-prefixed requires for builtins
Browse files Browse the repository at this point in the history
Fixes and closes tj#2169 by using Node-prefixed imports.

Signed-off-by: Sam Gammon <sam@elide.dev>
  • Loading branch information
sgammon committed Mar 31, 2024
1 parent 83c3f4e commit 9df621d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions lib/command.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
const EventEmitter = require('events').EventEmitter;
const childProcess = require('child_process');
const path = require('path');
const fs = require('fs');
const process = require('process');
const EventEmitter = require('node:events').EventEmitter;
const childProcess = require('node:child_process');
const path = require('node:path');
const fs = require('node:fs');
const process = require('node:process');

const { Argument, humanReadableArgName } = require('./argument.js');
const { CommanderError } = require('./error.js');
Expand Down

0 comments on commit 9df621d

Please sign in to comment.