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 36aa462 commit b31ace1Copy full SHA for b31ace1
1 file changed
update-pr-stack.sh
@@ -27,7 +27,7 @@ CONFLICT_LABEL="autorestack-needs-conflict-resolution"
27
28
# Function to check if a required environment variable is set
29
check_env_var() {
30
- if [ -z "${!1}" ]; then
+ if [[ -z "${!1-}" ]]; then
31
echo "Error: $1 is not set" >&2
32
exit 1
33
fi
0 commit comments