tra-analysis/functions/node_modules/.bin/acorn.cmd

7 lines
172 B
Batchfile
Raw Normal View History

2019-01-06 19:14:45 +00:00
@IF EXIST "%~dp0\node.exe" (
"%~dp0\node.exe" "%~dp0\..\acorn\bin\acorn" %*
) ELSE (
@SETLOCAL
@SET PATHEXT=%PATHEXT:;.JS;=;%
node "%~dp0\..\acorn\bin\acorn" %*
)