File tree Expand file tree Collapse file tree 2 files changed +4
-8
lines changed
Expand file tree Collapse file tree 2 files changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -535,11 +535,8 @@ export class ServiceScriptExecution extends BaseExecutionWithCommand<ServiceScri
535535 fingerprint,
536536 deferredFingerprint : this . #state. deferredFingerprint ,
537537 } ;
538- // deleted the `void` as a deliberate lint warning so I come back and
539- // include info on
540- // what changed in the fingerprint
541- adoptee
542- ?. abort ( { name : 'restart' , reason : needsToRestartReason } )
538+ void adoptee
539+ . abort ( { name : 'restart' , reason : needsToRestartReason } )
543540 . then ( ( ) => {
544541 this . #onAdopteeStopped( ) ;
545542 } ) ;
Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ function unknownState(state: never) {
6060}
6161
6262function unexpectedState ( state : WatcherState ) {
63- return new Error ( `Unexpected watcher state ${ state } ` ) ;
63+ return new Error ( `Unexpected watcher state ${ state . name } ` ) ;
6464}
6565
6666/**
@@ -544,8 +544,7 @@ export const makeWatcher = (
544544 break ;
545545 }
546546 default : {
547- const expectNever = ( _v : never ) => { } ;
548- expectNever ( kind ) ;
547+ kind satisfies never ;
549548 operation = 'altered in an unknown way' ;
550549 }
551550 }
You can’t perform that action at this time.
0 commit comments