refactor(templates): replace "! -z" with "-n" for better readability
This commit is contained in:
committed by
Saúl Ibarra Corretgé
parent
659e2e88f4
commit
0e4bf5ed1a
@@ -10,7 +10,7 @@ set -e
|
||||
# Don't start a release if the tree is dirty
|
||||
#
|
||||
|
||||
if [[ ! -z $(git status -s) ]]; then
|
||||
if [[ -n $(git status -s) ]]; then
|
||||
echo "Git tree is not clean, aborting release!"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user