mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-08-07 17:52:24 +08:00
Fix shellcheck warnings :P
This commit is contained in:
@@ -5,6 +5,6 @@ shopt -s globstar
|
||||
|
||||
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
|
||||
|
Reference in New Issue
Block a user