Merge remote-tracking branch 'origin/main' into setcps-reset-only-on-shuffle

This commit is contained in:
Felix Roos 2023-03-23 22:35:57 +01:00
commit 6a201be1fd
3 changed files with 13 additions and 7 deletions

View file

@ -41,7 +41,7 @@ export function repl({
throw new Error('no code to evaluate');
}
try {
beforeEval?.({ code });
await beforeEval?.({ code });
let { pattern } = await _evaluate(code, transpiler);
logger(`[eval] code updated`);