File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
internal-packages/run-engine/src/engine Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -337,7 +337,7 @@ export class RunLocker {
337337 const signal = controller . signal as redlock . RedlockAbortSignal ;
338338
339339 const manualContext : ManualLockContext = {
340- lock : lock ! ,
340+ lock,
341341 timeout : undefined ,
342342 extension : undefined ,
343343 } ;
@@ -390,12 +390,12 @@ export class RunLocker {
390390 this . #cleanupExtension( manualContext ) ;
391391
392392 // Release the lock using tryCatch
393- const [ releaseError ] = await tryCatch ( lock ! . release ( ) ) ;
393+ const [ releaseError ] = await tryCatch ( lock . release ( ) ) ;
394394 if ( releaseError ) {
395395 this . logger . warn ( "[RunLocker] Error releasing lock" , {
396396 error : releaseError ,
397397 resources : sortedResources ,
398- lockValue : lock ! . value ,
398+ lockValue : lock . value ,
399399 } ) ;
400400 }
401401 }
You can’t perform that action at this time.
0 commit comments