Skip to content

Commit

Permalink
Merge pull request #167 from internalsystemerror/fix-diff-as-arguments
Browse files Browse the repository at this point in the history
Diff variable needs to be unquoted when passed to the application
  • Loading branch information
Gary Lockett committed Dec 19, 2022
2 parents 8f0274d + a6184dd commit 5e50256
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}

0 comments on commit 5e50256

Please sign in to comment.