mirror of
https://github.com/captbaritone/webamp.git
synced 2026-07-28 12:36:35 +00:00
Don't log the "done" promise
This commit is contained in:
parent
05362da4a3
commit
3798934615
1 changed files with 1 additions and 3 deletions
|
|
@ -341,9 +341,7 @@ async function interpret(start, program, stack = [], { logger = null }) {
|
|||
i++;
|
||||
// Print some debug info
|
||||
if (logger) {
|
||||
const done = logger({ i, command, stack, variables, program });
|
||||
console.log(done);
|
||||
await done;
|
||||
await logger({ i, command, stack, variables, program });
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue