diff options
author | practicalswift <practicalswift@users.noreply.github.com> | 2019-01-16 15:24:32 +0100 |
---|---|---|
committer | practicalswift <practicalswift@users.noreply.github.com> | 2019-01-16 15:47:56 +0100 |
commit | 0b7196ecad2e7c7dad7ed67bbffdee5d9017b622 (patch) | |
tree | cd9bbd161db1897f8ce84a71497b4ae6b2402075 /test/lint/lint-whitespace.sh | |
parent | 07a53dce9f09133b51b20c5c25228c6d79f808f8 (diff) |
Fix warnings introduced in shellcheck v0.6.0
Diffstat (limited to 'test/lint/lint-whitespace.sh')
-rwxr-xr-x | test/lint/lint-whitespace.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lint/lint-whitespace.sh b/test/lint/lint-whitespace.sh index beb7ec42f4..f318e19071 100755 --- a/test/lint/lint-whitespace.sh +++ b/test/lint/lint-whitespace.sh @@ -23,7 +23,7 @@ while getopts "?" opt; do done if [ -z "${TRAVIS_COMMIT_RANGE}" ]; then - if [ "$1" ]; then + if [ -n "$1" ]; then TRAVIS_COMMIT_RANGE="HEAD~$1...HEAD" else TRAVIS_COMMIT_RANGE="HEAD" |