Skip to content

Commit 9279b3e

Browse files
authored
Drop unnecessary type-casting
1 parent cf5a3e2 commit 9279b3e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -475,7 +475,7 @@ collect.set('isActionRun', [
475475
'https://github.com/fregante/github-url-detection/actions/runs/294962314',
476476
]);
477477

478-
export const isNewAction = (url: URL | HTMLAnchorElement | Location = location): boolean => Boolean(getRepo(url)?.path === 'actions/new');
478+
export const isNewAction = (url: URL | HTMLAnchorElement | Location = location): boolean => getRepo(url)?.path === 'actions/new';
479479
collect.set('isNewAction', [
480480
'https://github.com/sindresorhus/refined-github/actions/new',
481481
]);

0 commit comments

Comments
 (0)