mirror of
https://github.com/HarbourMasters/Shipwright
synced 2026-10-12 23:18:23 -04:00
Use --no-pager for the no-tabs check's git grep (#7232)
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
|
||||
cd "$(dirname "$0")/.." || exit 2
|
||||
|
||||
if git grep -n "$(printf '\t')" -- 'soh/*.c' 'soh/*.cpp' 'soh/*.h' 'soh/*.hpp' ':!soh/include'; then
|
||||
if git --no-pager grep -n "$(printf '\t')" -- 'soh/*.c' 'soh/*.cpp' 'soh/*.h' 'soh/*.hpp' ':!soh/include'; then
|
||||
echo "replace tabs with spaces"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user