Skip to content

Commit e3aa162

Browse files
committed
lint
1 parent fcc805f commit e3aa162

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

index.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -301,10 +301,7 @@ export const isOpenPR = (): boolean => {
301301
return status === 'Open' || status === 'Draft';
302302
};
303303

304-
export const isMergedPR = (): boolean => {
305-
const status = $(stateSelector)?.textContent!.trim();
306-
return status === 'Merged';
307-
};
304+
export const isMergedPR = (): boolean => $(stateSelector)?.textContent!.trim() === 'Merged';
308305

309306
export const isClosedPR = (): boolean => {
310307
if (!isPR()) {

0 commit comments

Comments
 (0)