Skip to content

Commit

Permalink
Added error handling to updateNodeModules.cmd script.
Browse files Browse the repository at this point in the history
  • Loading branch information
Amit Apple committed Dec 28, 2012
1 parent 3fd7952 commit 5f9268f
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Kudu.Services.Web/updateNodeModules.cmd
Expand Up @@ -16,4 +16,15 @@ if exist %1\node_modules\kudusync\bin\kudusync (
cmd /c npm install kudusync
)

IF %ERRORLEVEL% NEQ 0 goto error

popd

goto end

:error
echo An error has occured during npm install.
exit /b 1

:end
echo Finished successfully.

0 comments on commit 5f9268f

Please sign in to comment.