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', [
557557 'https://github.com/fregante/github-url-detection/actions/workflows/esm-lint.yml' ,
558558] ) ;
559559
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 ;
561563
562564export const canUserEditRepo = ( ) : boolean => isRepo ( ) && exists ( '.reponav-item[href$="/settings"], [data-tab-item$="settings-tab"]' ) ;
563565
You can’t perform that action at this time.
0 commit comments