File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ addTests('isCompareWikiPage', [
6161 'https://github.com/brookhong/Surfingkeys/wiki/Color-Themes/_compare/8ebb46b1a12d16fc1af442b7df0ca13ca3bb34dc...80e51eeabe69b15a3f23880ecc36f800b71e6c6d' ,
6262] ) ;
6363
64- export const isDashboard = ( url : URL | HTMLAnchorElement | Location = location ) : boolean => ! isGist ( url ) && / ^ $ | ^ ( o r g s \/ [ ^ / ] + \/ ) ? d a s h b o a r d ( \/ | $ ) / . test ( getCleanPathname ( url ) ) ;
64+ export const isDashboard = ( url : URL | HTMLAnchorElement | Location = location ) : boolean => ! isGist ( url ) && / ^ $ | ^ ( o r g s \/ [ ^ / ] + \/ ) ? d a s h b o a r d ( - f e e d ) ? ( \/ | $ ) / . test ( getCleanPathname ( url ) ) ;
6565addTests ( 'isDashboard' , [
6666 'https://github.com///' ,
6767 'https://github.com//' ,
@@ -81,6 +81,7 @@ addTests('isDashboard', [
8181 'https://github.com/?tab=following' , // Gotcha for `isUserProfileFollowingTab`
8282 'https://github.com/?tab=overview' , // Gotcha for `isUserProfileMainTab`
8383 'https://github.com?search=1' , // Gotcha for `isRepoTree`
84+ 'https://github.com/dashboard-feed' ,
8485] ) ;
8586
8687export const isEnterprise = ( url : URL | HTMLAnchorElement | Location = location ) : boolean => url . hostname !== 'github.com' && url . hostname !== 'gist.github.com' ;
You can’t perform that action at this time.
0 commit comments