Skip to content

Commit

Permalink
Add review suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
suganyasuven committed Apr 8, 2021
1 parent c4a9976 commit d9ee682
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion resources/bin/bal
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ then
then
printf "#!/usr/bin/env bash\n\n"
cat $CURRENT_PATH/../scripts/bal_completion.bash
else
elif [ "$2" == "zsh" ]
printf "#!/usr/bin/env bash\n\n"
printf "autoload -U +X bashcompinit && bashcompinit\n"
printf "autoload -U +X compinit && compinit\n\n"
Expand Down
5 changes: 0 additions & 5 deletions resources/scripts/install
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,6 @@ fi

if [ $? -ne '0' ]; then
echo "error occurred while copying completion script file."
# remove already copied jar.
if [ -f "$CURRENT_PATH/../lib/ballerina-command-@[email protected]" ]; then
rm -rf $CURRENT_PATH/../lib/ballerina-command-@[email protected]
fi
exit $?
fi

echo "Updating environment variables"
Expand Down

0 comments on commit d9ee682

Please sign in to comment.