File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -557,7 +557,9 @@ collect.set('isRepositoryActions', [
557
557
'https://github.com/fregante/github-url-detection/actions/workflows/esm-lint.yml' ,
558
558
] ) ;
559
559
560
- export const canUserEditOrganization = ( ) : boolean => isOrganizationProfile ( ) && exists ( '[aria-label="Organization"] [data-tab-item="org-header-settings-tab"]' ) ;
560
+ export const isUserTheOrganizationOwner = ( ) : boolean => isOrganizationProfile ( ) && exists ( '[aria-label="Organization"] [data-tab-item="org-header-settings-tab"]' ) ;
561
+ /** @deprecated use isUserTheOrganizationOwner instead */
562
+ export const canUserEditOrganization = isUserTheOrganizationOwner ;
561
563
562
564
export const canUserEditRepo = ( ) : boolean => isRepo ( ) && exists ( '.reponav-item[href$="/settings"], [data-tab-item$="settings-tab"]' ) ;
563
565
You can’t perform that action at this time.
0 commit comments