We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 90a5636 commit 6b2710cCopy full SHA for 6b2710c
source/index.ts
@@ -325,10 +325,11 @@ export const _isRepoSettings = [
325
326
export const isRepoTree = (): boolean => isRepoRoot() || String(getRepoPath()).startsWith('tree/');
327
export const _isRepoTree = [
328
+ ..._isRepoRoot,
329
'https://github.com/sindresorhus/refined-github/tree/master/distribution',
330
'https://github.com/sindresorhus/refined-github/tree/0.13.0/distribution',
331
'https://github.com/sindresorhus/refined-github/tree/57bf435ee12d14b482df0bbd88013a2814c7512e/distribution'
-].concat(_isRepoRoot);
332
+];
333
334
export const isRepoWithAccess = (): boolean => isRepo() && select.exists('.reponav-item[href$="/settings"]');
335
export const _isRepoWithAccess = domBased;
0 commit comments