Skip to content

Commit 7734cea

Browse files
committed
fix lints
1 parent 956154c commit 7734cea

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

index.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -814,10 +814,10 @@ TEST: addTests('isRepositoryActions', [
814814

815815
const isStars = (url: URL | HTMLAnchorElement | Location = location): boolean => {
816816
const patharr = getCleanPathname(url).split('/'), [stars, user, subpath, ...extra] = patharr;
817-
return stars === 'stars'
817+
return stars === 'stars'
818818
&& ([1, 2, 4].includes(patharr.length)
819-
|| subpath === 'lists' && patharr.length !== 3
820-
|| ['repositories', 'topics'].includes(subpath) && patharr.length == 3);
819+
|| (subpath === 'lists' && patharr.length !== 3)
820+
|| (['repositories', 'topics'].includes(subpath) && patharr.length == 3));
821821
}
822822
TEST: addTests('isStars', [
823823
'https://github.com/stars',

0 commit comments

Comments
 (0)