Skip to content

[Fix] Installation of EOS Overlay #2930

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 4, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions src/backend/launcher.ts
Original file line number Diff line number Diff line change
Expand Up @@ -781,7 +781,7 @@ async function callRunner(
return currentPromise
}

const promise = new Promise<ExecResult>((res, rej) => {
let promise = new Promise<ExecResult>((res, rej) => {
const child = spawn(bin, commandParts, {
cwd: runner.dir,
env: { ...process.env, ...options?.env },
Expand Down Expand Up @@ -852,10 +852,7 @@ async function callRunner(
})
})

// keep track of which commands are running
commandsRunning[key] = promise

promise
promise = promise
.then(({ stdout, stderr }) => {
return { stdout, stderr, fullCommand: safeCommand }
})
Expand Down Expand Up @@ -894,6 +891,9 @@ async function callRunner(
delete commandsRunning[key]
})

// keep track of which commands are running
commandsRunning[key] = promise

return promise
}

Expand Down