Permalink
Browse files

Use single brackets for if in git hooks

  • Loading branch information...
fourlastor committed Dec 12, 2018
1 parent f0d13f7 commit 79288741c5eb297fc0a9b483dec809dec72bc77a
Showing with 1 addition and 1 deletion.
  1. +1 −1 team-props/git-hooks/pre-push.sh
@@ -7,7 +7,7 @@ echo "Running static analysis..."

status=$?

if [[ "$status" = 0 ]] ; then
if [ "$status" = 0 ] ; then
echo "Static analysis found no issues. Proceeding with push."
exit 0
else

0 comments on commit 7928874

Please sign in to comment.