diff --git a/scripts/check-no-tabs.sh b/scripts/check-no-tabs.sh index b469baed91..8eccad28b6 100755 --- a/scripts/check-no-tabs.sh +++ b/scripts/check-no-tabs.sh @@ -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