Skip to content

Commit

Permalink
fix(run): fix quotes error in osascript notification
Browse files Browse the repository at this point in the history
Resolve a quoting error in the "run completed" notification when using
osascript:

    33:38: syntax error: A identifier can’t go after this “"”. (-2740)

credits: @jcfranco for OSX testing assistance
  • Loading branch information
benelan committed May 31, 2024
1 parent 89580c0 commit 36c5676
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gh-fzf
Original file line number Diff line number Diff line change
Expand Up @@ -658,7 +658,7 @@ notify_run_completed() {
IFS=$OLDIFS

title="${workflow:-GitHub Action run completed}"
body="${conclusion}${branch:+ on \"$branch\" branch}"
body="${conclusion}${branch:+" on '$branch' branch"}"

if has dunstify; then
[ -n "$urgency" ] &&
Expand Down

0 comments on commit 36c5676

Please sign in to comment.