mirror of
https://github.com/shivammathur/setup-php.git
synced 2024-11-22 20:01:06 +07:00
7 lines
192 B
Batchfile
7 lines
192 B
Batchfile
@IF EXIST "%~dp0\node.exe" (
|
|
"%~dp0\node.exe" "%~dp0\..\esprima\bin\esvalidate.js" %*
|
|
) ELSE (
|
|
@SETLOCAL
|
|
@SET PATHEXT=%PATHEXT:;.JS;=;%
|
|
node "%~dp0\..\esprima\bin\esvalidate.js" %*
|
|
) |