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 = [
291291 '[class^="StateLabel"]' ,
292292] . join ( ',' ) ;
293293
294- export const isDraftPR = ( ) : boolean => isPR ( ) && $ ( stateSelector ) ? .textContent ! . trim ( ) === 'Draft' ;
294+ export const isDraftPR = ( ) : boolean => isPR ( ) && $ ( stateSelector ) ! . textContent ! . trim ( ) === 'Draft' ;
295295export const isOpenPR = ( ) : boolean => {
296296 if ( isPR ( ) ) {
297297 return false ;
298298 }
299299
300- const status = $ ( stateSelector ) ? .textContent ! . trim ( ) ;
300+ const status = $ ( stateSelector ) ! . textContent ! . trim ( ) ;
301301 return status === 'Open' || status === 'Draft' ;
302302} ;
303303
@@ -306,7 +306,7 @@ export const isMergedPR = (): boolean => {
306306 return false ;
307307 }
308308
309- const status = $ ( stateSelector ) ? .textContent ! . trim ( ) ;
309+ const status = $ ( stateSelector ) ! . textContent ! . trim ( ) ;
310310 return status === 'Merged' ;
311311} ;
312312
@@ -315,7 +315,7 @@ export const isClosedPR = (): boolean => {
315315 return false ;
316316 }
317317
318- const status = $ ( stateSelector ) ? .textContent ! . trim ( ) ;
318+ const status = $ ( stateSelector ) ! . textContent ! . trim ( ) ;
319319 return status === 'Closed' || status === 'Merged' ;
320320} ;
321321
@@ -324,7 +324,7 @@ export const isClosedIssue = (): boolean => {
324324 return false ;
325325 }
326326
327- const status = $ ( stateSelector ) ? .textContent ! . trim ( ) ;
327+ const status = $ ( stateSelector ) ! . textContent ! . trim ( ) ;
328328 return status === 'Closed' ;
329329} ;
330330
You can’t perform that action at this time.
0 commit comments