Skip to content

Commit

Permalink
ci(run-tests): stop properly after running all tests (#145)
Browse files Browse the repository at this point in the history
Fixes `run-tests.sh` to stop properly after running all tests in a
situation when no command-line arguments were passed by the developer.
  • Loading branch information
tiborsimko committed Aug 28, 2024
1 parent 845b1bc commit 357a719
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions run-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -100,11 +100,13 @@ check_all () {
}

if [ $# -eq 0 ]; then
check_all
arg="--check-all"
else
arg="$1"
fi

arg="$1"
case $arg in
--check-all) check_all;;
--check-commitlint) check_commitlint "$@";;
--check-shellcheck) check_shellcheck;;
--check-black) check_black;;
Expand Down

0 comments on commit 357a719

Please sign in to comment.