File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ module.exports = async ({github, context}) => {
3434
3535 // Regex for finding images (simple variant) 
3636 const REGEX_USER_CONTENT_IMAGE_LOOKUP = / \! \[ ( .* ) \] \( ( h t t p s : \/ \/ [ - a - z 0 - 9 ] + \. g i t h u b u s e r c o n t e n t \. c o m \/ \d + \/ [ - 0 - 9 a - f ] { 32 , 512 } \. ( j p g | g i f | p n g ) ) \) / gm;
37- const REGEX_ASSETS_IMAGE_LOCKUP = / \! \[ ( .* ) \] \( ( h t t p s : \/ \/ g i t h u b \. c o m \/ [ - \w \d ] + \/ [ - \w \d ] + \/ a s s e t s \/ \d + \/ [ \- 0 - 9 a - f ] { 32 , 512 } ) \) / gm;
37+ const REGEX_ASSETS_IMAGE_LOCKUP = / \! \[ ( .* ) \] \( ( h t t p s : \/ \/ g i t h u b \. c o m \/ u s e r - a t t a c h m e n t s \/ a s s e t s \/ [ \- 0 - 9 a - f ] { 36 , } ) \) / gm;
3838
3939 // Check if we found something
4040 let foundSimpleImages = REGEX_USER_CONTENT_IMAGE_LOOKUP . test ( initialBody )
You can’t perform that action at this time.
0 commit comments