File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -293,7 +293,7 @@ const stateSelector = [
293
293
294
294
export const isDraftPR = ( ) : boolean => isPR ( ) && $ ( stateSelector ) ! . textContent ! . trim ( ) === 'Draft' ;
295
295
export const isOpenPR = ( ) : boolean => {
296
- if ( isPR ( ) ) {
296
+ if ( ! isPR ( ) ) {
297
297
return false ;
298
298
}
299
299
@@ -302,7 +302,7 @@ export const isOpenPR = (): boolean => {
302
302
} ;
303
303
304
304
export const isMergedPR = ( ) : boolean => {
305
- if ( isPR ( ) ) {
305
+ if ( ! isPR ( ) ) {
306
306
return false ;
307
307
}
308
308
@@ -311,7 +311,7 @@ export const isMergedPR = (): boolean => {
311
311
} ;
312
312
313
313
export const isClosedPR = ( ) : boolean => {
314
- if ( isPR ( ) ) {
314
+ if ( ! isPR ( ) ) {
315
315
return false ;
316
316
}
317
317
@@ -320,7 +320,7 @@ export const isClosedPR = (): boolean => {
320
320
} ;
321
321
322
322
export const isClosedIssue = ( ) : boolean => {
323
- if ( isIssue ( ) ) {
323
+ if ( ! isIssue ( ) ) {
324
324
return false ;
325
325
}
326
326
You can’t perform that action at this time.
0 commit comments