Skip to content
Myr

echo-shim.bat

This file

Path

test/fixtures/echo-shim.bat

7 lines · 151 bytes

Last changed by

Move away from `cross-spawn` (#1251)Sindre Sorhusbefore adoption4cafc3f

History of this file

Take it

Move away from `cross-spawn` (#1251)Sindre Sorhusbefore adoption4cafc3f

lines 1–7why, one step back
1@IF EXIST "%~dp0\node.exe" (
2 "%~dp0\node.exe" "%~dp0\echo.js" %*3) ELSE (4 @SETLOCAL5 @SET PATHEXT=%PATHEXT:;.JS;=;%6 node "%~dp0\echo.js" %*7)