diff options
Diffstat (limited to 'scripts/detect_trailing_whitespace.sh')
-rwxr-xr-x | scripts/detect_trailing_whitespace.sh | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/scripts/detect_trailing_whitespace.sh b/scripts/detect_trailing_whitespace.sh deleted file mode 100755 index 1a136a10..00000000 --- a/scripts/detect_trailing_whitespace.sh +++ /dev/null @@ -1,15 +0,0 @@ -#!/usr/bin/env bash - -REPO_ROOT="$(dirname "$0")"/.. - -( -cd $REPO_ROOT -WHITESPACE=$(git grep -n -I -E "^.*[[:space:]]+$" | grep -v "test/libsolidity/ASTJSON\|test/compilationTests/zeppelin/LICENSE") - -if [[ "$WHITESPACE" != "" ]] -then - echo "Error: Trailing whitespace found:" >&2 - echo "$WHITESPACE" >&2 - exit 1 -fi -) |