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', [
261
261
'https://github.com/sindresorhus/refined-github/releases/tag/0.2.1' ,
262
262
] ) ;
263
263
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
+
264
270
export const isEditingFile = ( url : URL | HTMLAnchorElement | Location = location ) : boolean => Boolean ( getRepo ( url ) ?. path . startsWith ( 'edit' ) ) ;
265
271
collect . set ( 'isEditingFile' , [
266
272
'https://github.com/sindresorhus/refined-github/edit/master/readme.md' ,
You can’t perform that action at this time.
0 commit comments