Skip to content

Commit 709c09e

Browse files
committed
fixed ticket no replace
1 parent 2696113 commit 709c09e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

action/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65545,7 +65545,7 @@ const informSlack = async (release) => {
6554565545

6554665546
if(hasRemoveImage) {
6554765547
console.log('Removing images from release body...');
65548-
bodyContent = release.body
65548+
bodyContent = bodyContent
6554965549
// Remove inline Markdown images
6555065550
.replace(/!\[([\s\S]*?)]\((https?:\/\/[^\s)]+)\)/g, '_-private image-_')
6555165551
// Remove raw GitHub attachment image URLs

src/helper/slack.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const informSlack = async (release) => {
2020

2121
if(hasRemoveImage) {
2222
console.log('Removing images from release body...');
23-
bodyContent = release.body
23+
bodyContent = bodyContent
2424
// Remove inline Markdown images
2525
.replace(/!\[([\s\S]*?)]\((https?:\/\/[^\s)]+)\)/g, '_-private image-_')
2626
// Remove raw GitHub attachment image URLs

0 commit comments

Comments
 (0)