mirror of
https://github.com/nodejs/node.git
synced 2024-11-24 20:29:23 +01:00
9eb1b5cf33
PR-URL: https://github.com/nodejs/node/pull/43402 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
8 lines
210 B
Batchfile
8 lines
210 B
Batchfile
@SETLOCAL
|
|
@IF EXIST "%~dp0\node.exe" (
|
|
"%~dp0\node.exe" "%~dp0\node_modules\corepack\dist\pnpx.js" %*
|
|
) ELSE (
|
|
@SET PATHEXT=%PATHEXT:;.JS;=;%
|
|
node "%~dp0\node_modules\corepack\dist\pnpx.js" %*
|
|
)
|