File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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 ] * ?) ] \( ( h t t p s ? : \/ \/ [ ^ \s ) ] + ) \) / g, '_-private image-_' )
2626 // Remove raw GitHub attachment image URLs
You can’t perform that action at this time.
0 commit comments