Skip to content

Commit 5e50256

Browse files
author
Gary Lockett
authored
Merge pull request #167 from internalsystemerror/fix-diff-as-arguments
Diff variable needs to be unquoted when passed to the application
2 parents 8f0274d + a6184dd commit 5e50256

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

entrypoint.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,4 +80,6 @@ if [[ "$DIFF" != "" ]];then
8080
echo "${DIFF}"
8181
fi
8282

83-
/action/main.js "${DIFF}"
83+
# This variable is deliberately unquoted so that it can be properly processed on the other side.
84+
# shellcheck disable=SC2086
85+
/action/main.js ${DIFF}

0 commit comments

Comments
 (0)