Fix id source range mapping with path_get_info (#517)

This commit is contained in:
Kurt Hutten
2023-09-14 13:49:59 +10:00
committed by GitHub
parent 6ac79ae645
commit 3c76721159
4 changed files with 95 additions and 5 deletions

View File

@ -102,7 +102,7 @@ export function useCodeEval() {
)
const { artifactMap, sourceRangeMap } =
await engineCommandManager.waitForAllCommands()
await engineCommandManager.waitForAllCommands(_ast, programMemory)
setIsExecuting(false)
if (programMemory !== undefined) {
setProgramMemory(programMemory)