Skip to content

Commit

Permalink
fix verify exercises to not error when targeting single exercise
Browse files Browse the repository at this point in the history
  • Loading branch information
Nenad committed Jun 25, 2024
1 parent 1826fcb commit dcc68f2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions bin/verify-exercises
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ slug="${1:-*}"

verify_exercise() {
exercises_path="$repo/exercises/$1/$slug"
if ! test -d "$exercises_path"; then
return
fi
source_file_name="$2"
tmp_file=$(mktemp)
trap 'rm $tmp_file' EXIT INT TERM
Expand Down

0 comments on commit dcc68f2

Please sign in to comment.