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 = [
293293
294294export const isDraftPR = ( ) : boolean => isPR ( ) && $ ( stateSelector ) ! . textContent ! . trim ( ) === 'Draft' ;
295295export const isOpenPR = ( ) : boolean => {
296- if ( isPR ( ) ) {
296+ if ( ! isPR ( ) ) {
297297 return false ;
298298 }
299299
@@ -302,7 +302,7 @@ export const isOpenPR = (): boolean => {
302302} ;
303303
304304export const isMergedPR = ( ) : boolean => {
305- if ( isPR ( ) ) {
305+ if ( ! isPR ( ) ) {
306306 return false ;
307307 }
308308
@@ -311,7 +311,7 @@ export const isMergedPR = (): boolean => {
311311} ;
312312
313313export const isClosedPR = ( ) : boolean => {
314- if ( isPR ( ) ) {
314+ if ( ! isPR ( ) ) {
315315 return false ;
316316 }
317317
@@ -320,7 +320,7 @@ export const isClosedPR = (): boolean => {
320320} ;
321321
322322export const isClosedIssue = ( ) : boolean => {
323- if ( isIssue ( ) ) {
323+ if ( ! isIssue ( ) ) {
324324 return false ;
325325 }
326326
You can’t perform that action at this time.
0 commit comments