diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/detect_trailing_whitespace.sh | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/scripts/detect_trailing_whitespace.sh b/scripts/detect_trailing_whitespace.sh index 78e69584..1a136a10 100755 --- a/scripts/detect_trailing_whitespace.sh +++ b/scripts/detect_trailing_whitespace.sh @@ -9,9 +9,7 @@ WHITESPACE=$(git grep -n -I -E "^.*[[:space:]]+$" | grep -v "test/libsolidity/AS if [[ "$WHITESPACE" != "" ]] then echo "Error: Trailing whitespace found:" >&2 - echo "\"$WHITESPACE\"" >&2 + echo "$WHITESPACE" >&2 exit 1 -else - exit 0 fi ) |