diff options
Diffstat (limited to 'installer/npm_install.cmd')
-rw-r--r-- | installer/npm_install.cmd | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/installer/npm_install.cmd b/installer/npm_install.cmd index ecb09da..caea4a8 100644 --- a/installer/npm_install.cmd +++ b/installer/npm_install.cmd @@ -6,6 +6,7 @@ if "x%2" equ "x" goto :EOF set server_dir=..\servers\%1
if exist "%server_dir%" rd /Q /S "%server_dir%"
md "%server_dir%"
+pushd .
cd /d "%server_dir%"
call npm init -y
@@ -19,3 +20,4 @@ echo @echo off ^ call %%~dp0\node_modules\.bin\%1.cmd %%* ^
> %1.cmd
+popd
|