Skip to content

Commit

Permalink
Add the 'node:' prefix to explicitly indicate it requires a Node.js c…
Browse files Browse the repository at this point in the history
…ore module.
  • Loading branch information
eason9487 committed Apr 19, 2024
1 parent 9c952dd commit 634600a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/js/jsdoc/bin/jsdoc.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* External dependencies
*/
import shell from 'shelljs';
import path from 'path';
import path from 'node:path';

process.env.PATH +=
path.delimiter + path.join( process.cwd(), 'node_modules', '.bin' );
Expand Down

0 comments on commit 634600a

Please sign in to comment.