hexo/node_modules/is-wsl/node_modules/.bin/is-docker.cmd

7 lines
192 B
Batchfile

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