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 22, 2024
1 parent f35e5e9 commit 05de223
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 05de223

Please sign in to comment.