asdf-games/node_modules/.bin/has-ansi.cmd

7 lines
172 B
Batchfile

@IF EXIST "%~dp0\node.exe" (
"%~dp0\node.exe" "%~dp0\..\has-ansi\cli.js" %*
) ELSE (
@SETLOCAL
@SET PATHEXT=%PATHEXT:;.JS;=;%
node "%~dp0\..\has-ansi\cli.js" %*
)