File tree 1 file changed +4
-3
lines changed
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 80
80
81
81
// Collect resourcs
82
82
log . working ( '\nCollecting resources...\n' )
83
- const userJScontent = fs . readFileSync ( userJSfilePath , 'utf-8' ) ,
84
- reResourceURL = new RegExp ( `(?:${ rePatterns . cssURL . source } )|(?:${ rePatterns . jsURL . source } )` , 'gm' ) ,
85
- resourceURLs = [ ...userJScontent . matchAll ( reResourceURL ) ] . map ( match => match [ 1 ] || match [ 2 ] )
83
+ const userJScontent = fs . readFileSync ( userJSfilePath , 'utf-8' )
84
+ const reResourceURL = new RegExp ( // eslint-disable-next-line
85
+ `(?:${ rePatterns . cssURL . source } )|(?:${ rePatterns . jsURL . source } )` , 'gm' )
86
+ const resourceURLs = [ ...userJScontent . matchAll ( reResourceURL ) ] . map ( match => match [ 1 ] || match [ 2 ] )
86
87
log . success ( `${ resourceURLs . length } potentially bumpable resource(s) found.` )
87
88
88
89
// Fetch latest commit hash for adamlui/ai-web-extensions/assets/styles/rising-stars
You can’t perform that action at this time.
0 commit comments