aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorDaniel Kirchner <daniel@ekpyron.org>2018-09-04 23:28:52 +0800
committerDaniel Kirchner <daniel@ekpyron.org>2018-09-04 23:43:04 +0800
commit1ae6ec9038d83a82d5e8b57a8c6138dd4970d422 (patch)
tree83537bfc4a10be6fa4fc74d59367439c4cb0f3f8 /scripts
parent1cd96b2dc482ed484e87de7c26a4af54aca45e1d (diff)
downloaddexon-solidity-1ae6ec9038d83a82d5e8b57a8c6138dd4970d422.tar.gz
dexon-solidity-1ae6ec9038d83a82d5e8b57a8c6138dd4970d422.tar.zst
dexon-solidity-1ae6ec9038d83a82d5e8b57a8c6138dd4970d422.zip
Remove trailing whitespace.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/detect_trailing_whitespace.sh4
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
)