From 16beb42605a00a40d4616009f0725a61934e5c2a Mon Sep 17 00:00:00 2001 From: Kristian Freeman Date: Fri, 11 Oct 2019 14:37:26 -0500 Subject: [PATCH] idk --- entrypoint.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index 2748482..6f3f8bb 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -7,8 +7,9 @@ export NVM_DIR="/github/workspace/nvm" export WRANGLER_HOME="/github/workspace" # h/t https://github.com/elgohr/Publish-Docker-Github-Action -function sanitize () { - if [ -z "${1}" ]; then +sanitize() { + if [ -z "${1}" ] + then >&2 echo "Unable to find the ${2}. Did you set with.${2}?" exit 1 fi