File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -291,13 +291,13 @@ const stateSelector = [
291
291
'[class^="StateLabel"]' ,
292
292
] . join ( ',' ) ;
293
293
294
- export const isDraftPR = ( ) : boolean => isPR ( ) && $ ( stateSelector ) ? .textContent ! . trim ( ) === 'Draft' ;
294
+ export const isDraftPR = ( ) : boolean => isPR ( ) && $ ( stateSelector ) ! . textContent ! . trim ( ) === 'Draft' ;
295
295
export const isOpenPR = ( ) : boolean => {
296
296
if ( isPR ( ) ) {
297
297
return false ;
298
298
}
299
299
300
- const status = $ ( stateSelector ) ? .textContent ! . trim ( ) ;
300
+ const status = $ ( stateSelector ) ! . textContent ! . trim ( ) ;
301
301
return status === 'Open' || status === 'Draft' ;
302
302
} ;
303
303
@@ -306,7 +306,7 @@ export const isMergedPR = (): boolean => {
306
306
return false ;
307
307
}
308
308
309
- const status = $ ( stateSelector ) ? .textContent ! . trim ( ) ;
309
+ const status = $ ( stateSelector ) ! . textContent ! . trim ( ) ;
310
310
return status === 'Merged' ;
311
311
} ;
312
312
@@ -315,7 +315,7 @@ export const isClosedPR = (): boolean => {
315
315
return false ;
316
316
}
317
317
318
- const status = $ ( stateSelector ) ? .textContent ! . trim ( ) ;
318
+ const status = $ ( stateSelector ) ! . textContent ! . trim ( ) ;
319
319
return status === 'Closed' || status === 'Merged' ;
320
320
} ;
321
321
@@ -324,7 +324,7 @@ export const isClosedIssue = (): boolean => {
324
324
return false ;
325
325
}
326
326
327
- const status = $ ( stateSelector ) ? .textContent ! . trim ( ) ;
327
+ const status = $ ( stateSelector ) ! . textContent ! . trim ( ) ;
328
328
return status === 'Closed' ;
329
329
} ;
330
330
You can’t perform that action at this time.
0 commit comments