setup-python/node_modules/.bin/js-yaml.cmd

7 lines
186 B
Batchfile
Raw Normal View History

2019-07-30 13:16:01 -04:00
@IF EXIST "%~dp0\node.exe" (
"%~dp0\node.exe" "%~dp0\..\js-yaml\bin\js-yaml.js" %*
) ELSE (
@SETLOCAL
@SET PATHEXT=%PATHEXT:;.JS;=;%
node "%~dp0\..\js-yaml\bin\js-yaml.js" %*
)