Skip to content

Commit

Permalink
fix exit codes
Browse files Browse the repository at this point in the history
  • Loading branch information
borkdude authored and transducer committed Dec 19, 2018
1 parent b690641 commit dbedd03
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .circleci/test-diff
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ else
$clj_cmd
fi

if [ ! $? ]; then
if [ $? != 0 ]; then
exit_code=1
fi

Expand All @@ -65,7 +65,7 @@ else
$cljs_cmd
fi

if [ ! $? ]; then
if [ $? != 0 ]; then
exit_code=1
fi

Expand Down
2 changes: 1 addition & 1 deletion script/test
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ if [ ! $SKIP_CLJS ]; then
-c cljs-opts.edn
fi

if [ ! $? ]; then
if [ $? != 0 ]; then
exit_code=1
fi

Expand Down
4 changes: 2 additions & 2 deletions script/test-one
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ if [ ! $SKIP_CLJ ]; then
"$exclude_flag" "$exclude_pattern"
fi

if [ ! $? ]; then
if [ $? != 0 ]; then
exit_code=1
fi

Expand All @@ -43,7 +43,7 @@ if [ ! $SKIP_CLJS ]; then
-c cljs-opts.edn
fi

if [ ! $? ]; then
if [ $? != 0 ]; then
exit_code=1
fi

Expand Down

0 comments on commit dbedd03

Please sign in to comment.