File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -261,6 +261,12 @@ collect.set('isReleasesOrTags', [
261261 'https://github.com/sindresorhus/refined-github/releases/tag/0.2.1' ,
262262] ) ;
263263
264+ export const isDeletingFile = ( url : URL | HTMLAnchorElement | Location = location ) : boolean => Boolean ( getRepo ( url ) ?. path . startsWith ( 'delete' ) ) ;
265+ collect . set ( 'isDeletingFile' , [
266+ 'https://github.com/sindresorhus/refined-github/delete/master/readme.md' ,
267+ 'https://github.com/sindresorhus/refined-github/delete/ghe-injection/source/background.ts' ,
268+ ] ) ;
269+
264270export const isEditingFile = ( url : URL | HTMLAnchorElement | Location = location ) : boolean => Boolean ( getRepo ( url ) ?. path . startsWith ( 'edit' ) ) ;
265271collect . set ( 'isEditingFile' , [
266272 'https://github.com/sindresorhus/refined-github/edit/master/readme.md' ,
You can’t perform that action at this time.
0 commit comments