improve vitest hang (#1470)
* improve vitest hang * fmt * make types happy * fix types * fix
This commit is contained in:
@ -211,7 +211,7 @@ class KclManager {
|
||||
console.error('error parsing code', e)
|
||||
if (e instanceof KCLError) {
|
||||
this.kclErrors = [e]
|
||||
if (e.msg === 'file is empty') engineCommandManager.endSession()
|
||||
if (e.msg === 'file is empty') engineCommandManager?.endSession()
|
||||
}
|
||||
return null
|
||||
}
|
||||
|
Reference in New Issue
Block a user