Skip to content

Commit

Permalink
Merge pull request #93 from suganyasuven/master
Browse files Browse the repository at this point in the history
Fix exit code issue
  • Loading branch information
keizer619 authored Feb 16, 2021
2 parents d59627c + 55948f2 commit 9c3372e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion resources/bin/bal
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ then
else
$JAVA_COMMAND -jar $CURRENT_PATH/../lib/ballerina-command-@[email protected] "$@"
fi
exit $?

if [ "$1" == "update" ] && [ -d "$CURRENT_PATH/../ballerina-command-tmp" ]; then
$CURRENT_PATH/../ballerina-command-tmp/install
Expand Down
1 change: 0 additions & 1 deletion resources/bin/bal.bat
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ if "%dist%" == "true" (
) else (
%JAVA_CMD% -jar %CURRENT_PATH%..\lib\ballerina-command-@version@.jar %*
)
exit /b %errorlevel%
if "%update%" == "true" if exist %CURRENT_PATH%..\ballerina-command-tmp (
call %CURRENT_PATH%\..\ballerina-command-tmp\install.bat
if %errorlevel% neq 0 (
Expand Down

0 comments on commit 9c3372e

Please sign in to comment.