Skip to content

Commit dffbf76

Browse files
committed
!!
1 parent 41695ab commit dffbf76

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tool/release_helper.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,17 @@
33
DEVTOOLS_REMOTE=$(git remote -v | grep "flutter/devtools.git" | grep "(fetch)"| tail -n1 | cut -w -f1)
44
TYPE=$1
55

6-
if [ ! -z ${TYPE+x} ] ; then
6+
if [ -z ${TYPE+x} ] ; then
77
echo "$0 expects a type as a first parameter"
88
exit 1
99
fi
1010

11-
if [ ! -z ${DEVTOOLS_REMOTE+x} ] ; then
11+
if [ -z ${DEVTOOLS_REMOTE+x} ] ; then
1212
echo "Couldn't find a remote that points to flutter/devtools.git"
1313
exit 1
1414
fi
1515

16-
if [[ ! -z $(git status -s) ]] ; then
16+
if [[ -z $(git status -s) ]] ; then
1717
echo "Make sure your working directory is clean before running the helper"
1818
exit 1
1919
fi

0 commit comments

Comments
 (0)