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 f54fb0b commit 546cb2eCopy full SHA for 546cb2e
scripts/protobuf_codegen.sh
@@ -41,8 +41,8 @@ if [[ $(protoc-gen-go-grpc --version | cut -f2 -d' ') != "${PROTOC_GEN_GO_GRPC_V
41
fi
42
43
TARGET=$PWD/proto
44
-if [ -n "$1" ]; then
45
TARGET="$1"
+if [ -n "${1:-}" ]; then
46
47
48
# move to api directory
scripts/tests.upgrade.sh
@@ -96,7 +96,7 @@ echo "running upgrade tests against the local cluster with ${NEW_BINARY}"
96
pkill -P ${PID} || true
97
kill -2 ${PID}
98
99
-if [[ ${EXIT_CODE} -gt 0 ]]; then
+if [[ "${EXIT_CODE:-}" -gt 0 ]]; then
100
echo "FAILURE with exit code ${EXIT_CODE}"
101
exit ${EXIT_CODE}
102
else
0 commit comments