Skip to content

Commit

Permalink
Fix(nginx-pwa): exit code in 90-envsubst-on-config-js.sh
Browse files Browse the repository at this point in the history
Co-authored-by: S. Amir Mohammad Najafi <njfamirm@gmail.com>
  • Loading branch information
alimd and njfamirm committed Jan 23, 2024
1 parent 42a8827 commit d56f964
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ set -e
ME=$(basename $0)

test -z "$NGINX_CONFIG_JS_PATH" && exit 0
test ! -f "$NGINX_CONFIG_JS_PATH" && exit 0
test ! -f "$NGINX_CONFIG_JS_PATH" && exit 1

definedEnvs=$(printf '${%s} ' $(env | cut -d= -f1))
if [ ! -w "$NGINX_CONFIG_JS_PATH" ]; then
Expand Down

0 comments on commit d56f964

Please # to comment.