mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-08-29 17:23:41 +08:00
Merge pull request #1897 from ArturKlauser/use-shellcheck-on-yourself
Use shellcheck on yourself
This commit is contained in:
@@ -8,6 +8,6 @@ fi
|
|||||||
|
|
||||||
for i in 1 2
|
for i in 1 2
|
||||||
do
|
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))"
|
echo "Next ${i}xxx: $((last+1))"
|
||||||
done
|
done
|
||||||
|
@@ -1,4 +1,5 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
# shellcheck disable=SC2257
|
||||||
|
|
||||||
failed=0
|
failed=0
|
||||||
fail() {
|
fail() {
|
||||||
|
Reference in New Issue
Block a user