Skip to content

Commit b456414

Browse files
authored
Drop deprecated canUserEditOrganization; use isUserTheOrganizationOwner instead (#138)
1 parent bc8b8aa commit b456414

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

index.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -666,8 +666,6 @@ addTests('isRepositoryActions', [
666666
]);
667667

668668
export const isUserTheOrganizationOwner = (): boolean => isOrganizationProfile() && exists('[aria-label="Organization"] [data-tab-item="org-header-settings-tab"]');
669-
/** @deprecated use isUserTheOrganizationOwner instead */
670-
export const canUserEditOrganization = isUserTheOrganizationOwner;
671669

672670
export const canUserEditRepo = (): boolean => isRepo() && exists('.reponav-item[href$="/settings"], [data-tab-item$="settings-tab"]');
673671

0 commit comments

Comments
 (0)