Skip to content

Commit

Permalink
Remove unused escape function
Browse files Browse the repository at this point in the history
  • Loading branch information
mark-thm committed Feb 12, 2024
1 parent 17ee079 commit 5feb788
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,6 @@ runs:
fi
}
function escape {
echo "$1" | sed 's/"/\\"/g'
}
if [[ -n "${{ inputs.ignore-author }}" ]]
then
if [[ "$(gh pr view --json author --jq ".author.login | contains(\"${{ inputs.ignore-author }}\")" "${{ inputs.pull-request-number }}")" == "true" ]]
Expand Down

0 comments on commit 5feb788

Please sign in to comment.