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 fcc805f commit e3aa162Copy full SHA for e3aa162
index.ts
@@ -301,10 +301,7 @@ export const isOpenPR = (): boolean => {
301
return status === 'Open' || status === 'Draft';
302
};
303
304
-export const isMergedPR = (): boolean => {
305
- const status = $(stateSelector)?.textContent!.trim();
306
- return status === 'Merged';
307
-};
+export const isMergedPR = (): boolean => $(stateSelector)?.textContent!.trim() === 'Merged';
308
309
export const isClosedPR = (): boolean => {
310
if (!isPR()) {
0 commit comments