Skip to content

Commit 276063e

Browse files
supress eslint warning
1 parent 4c8c688 commit 276063e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -877,6 +877,7 @@ export const canUserAdminRepo = (): boolean => {
877877
].join(',')}) a[href="/${repo.nameWithOwner}/settings"]`));
878878
};
879879

880+
// eslint-disable-next-line @typescript-eslint/no-deprecated
880881
export const doesUserHaveRepoWriteAccess = canUserAdminRepo;
881882

882883
export const isNewRepo = (url: URL | HTMLAnchorElement | Location = location): boolean => !isGist(url) && (url.pathname === '/new' || /^organizations\/[^/]+\/repositories\/new$/.test(getCleanPathname(url)));

0 commit comments

Comments
 (0)