Skip to content

Commit

Permalink
diff variable needs to be unquoted when passed to the application
Browse files Browse the repository at this point in the history
Signed-off-by: Gary Lockett <[email protected]>
  • Loading branch information
Gary Lockett committed Dec 19, 2022
1 parent 3934950 commit a6184dd
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 a6184dd

Please sign in to comment.