File tree Expand file tree Collapse file tree 1 file changed +0
-5
lines changed
Expand file tree Collapse file tree 1 file changed +0
-5
lines changed Original file line number Diff line number Diff line change @@ -821,9 +821,6 @@ export const isUserTheOrganizationOwner = (): boolean => isOrganizationProfile()
821821
822822export const canUserAdminRepo = ( ) : boolean => isRepo ( ) && exists ( '.reponav-item[href$="/settings"], [data-tab-item$="settings-tab"]' ) ;
823823
824- /** @deprecated Use `canUserAdminRepo` */
825- export const canUserEditRepo = canUserAdminRepo ;
826-
827824export const isNewRepo = ( url : URL | HTMLAnchorElement | Location = location ) : boolean => ! isGist ( url ) && ( url . pathname === '/new' || / ^ o r g a n i z a t i o n s \/ [ ^ / ] + \/ r e p o s i t o r i e s \/ n e w $ / . test ( getCleanPathname ( url ) ) ) ;
828825TEST: addTests ( 'isNewRepo' , [
829826 'https://github.com/new' ,
@@ -925,8 +922,6 @@ const getRepo = (url?: URL | HTMLAnchorElement | Location | string): RepositoryI
925922
926923export const utils = {
927924 getOrg,
928- /** @deprecated Use `getLoggedInUser` */
929- getUsername : getLoggedInUser ,
930925 getLoggedInUser,
931926 getCleanPathname,
932927 getCleanGistPathname,
You can’t perform that action at this time.
0 commit comments