Skip to content

Commit

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

Signed-off-by: Sam Gammon <sam@elide.dev>
  • Loading branch information
sgammon committed Apr 6, 2024
1 parent 1bdc749 commit f7b8475
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions lib/command.js
@@ -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 f7b8475

Please sign in to comment.