mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-08-07 21:26:42 +08:00
Give each sh/dash compatibility warning its own SC3xxx error code
This commit is contained in:
@@ -6,7 +6,7 @@ then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
for i in 1 2
|
||||
for i in 1 2 3
|
||||
do
|
||||
last=$(grep -hv "^prop" ./**/*.hs | grep -Ewo "${i}[0-9]{3}" | sort -n | tail -n 1)
|
||||
echo "Next ${i}xxx: $((last+1))"
|
||||
|
Reference in New Issue
Block a user