We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 41695ab commit dffbf76Copy full SHA for dffbf76
tool/release_helper.sh
@@ -3,17 +3,17 @@
3
DEVTOOLS_REMOTE=$(git remote -v | grep "flutter/devtools.git" | grep "(fetch)"| tail -n1 | cut -w -f1)
4
TYPE=$1
5
6
-if [ ! -z ${TYPE+x} ] ; then
+if [ -z ${TYPE+x} ] ; then
7
echo "$0 expects a type as a first parameter"
8
exit 1
9
fi
10
11
-if [ ! -z ${DEVTOOLS_REMOTE+x} ] ; then
+if [ -z ${DEVTOOLS_REMOTE+x} ] ; then
12
echo "Couldn't find a remote that points to flutter/devtools.git"
13
14
15
16
-if [[ ! -z $(git status -s) ]] ; then
+if [[ -z $(git status -s) ]] ; then
17
echo "Make sure your working directory is clean before running the helper"
18
19
0 commit comments