Skip to content

Commit

Permalink
Merge pull request #1897 from ArturKlauser/use-shellcheck-on-yourself
Browse files Browse the repository at this point in the history
Use shellcheck on yourself
  • Loading branch information
koalaman authored Apr 2, 2020
2 parents a0005bf + 9378227 commit a9c04e8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion nextnumber
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ fi

for i in 1 2
do
last=$(grep -hv "^prop" ./**/*.hs | grep -Ewo "$i[0-9]{3}" | sort -n | tail -n 1)
last=$(grep -hv "^prop" ./**/*.hs | grep -Ewo "${i}[0-9]{3}" | sort -n | tail -n 1)
echo "Next ${i}xxx: $((last+1))"
done
1 change: 1 addition & 0 deletions test/check_release
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/env bash
# shellcheck disable=SC2257

failed=0
fail() {
Expand Down

0 comments on commit a9c04e8

Please sign in to comment.