Skip to content

Commit

Permalink
Issue #241: Fix backslash issue composer-lock diff. (#579)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexanderpatriciop authored Jul 11, 2024
1 parent bbe42fd commit 44b7d45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/github.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,5 @@ tasks:
$DIFF
<!--/Composer Lock Diff-->"
fi
DESCRIPTION=$(echo "$DESCRIPTION" | sed -z 's/\n/\\n/g' | sed -z 's/"/\\"/g' | sed -z 's/\r//g')
DESCRIPTION=$(echo "$DESCRIPTION" | sed -z 's/\\/\\\\/g' | sed -z 's/\n/\\n/g' | sed -z 's/"/\\"/g' | sed -z 's/\r//g')
echo "{\"body\": \"$(echo "$DESCRIPTION")\"}" > {{ .json_file }}

0 comments on commit 44b7d45

Please sign in to comment.