From 634600a6413e095024e285811652680ec3e58f4d Mon Sep 17 00:00:00 2001 From: Eason Su Date: Fri, 19 Apr 2024 16:54:30 +0800 Subject: [PATCH] Add the 'node:' prefix to explicitly indicate it requires a Node.js core module. --- packages/js/jsdoc/bin/jsdoc.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/js/jsdoc/bin/jsdoc.mjs b/packages/js/jsdoc/bin/jsdoc.mjs index d32d0c9d..610abcd9 100755 --- a/packages/js/jsdoc/bin/jsdoc.mjs +++ b/packages/js/jsdoc/bin/jsdoc.mjs @@ -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' );