From a6184dd5271dead81d7808ee9fcc745b5385114d Mon Sep 17 00:00:00 2001 From: Gary Lockett Date: Mon, 19 Dec 2022 16:24:22 +0000 Subject: [PATCH] diff variable needs to be unquoted when passed to the application Signed-off-by: Gary Lockett --- entrypoint.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index 8f93e489..1c041842 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -80,4 +80,6 @@ if [[ "$DIFF" != "" ]];then echo "${DIFF}" fi -/action/main.js "${DIFF}" +# This variable is deliberately unquoted so that it can be properly processed on the other side. +# shellcheck disable=SC2086 +/action/main.js ${DIFF}