Commit Graph
2 Commits
Author SHA1 Message Date
FreezePhoenix 934e0e16ac Fix small bug with async code snippets
If a code snippet used await, and had a line comment on the last line, it would fail to run:
```js
await sleep(1000);
show_json(100);
// show_json(200);
```
This is because the line comment would end up cutting off the end of the async function wrapper that `code_eval` creates.
2024-01-27 14:39:33 -05:00
Kaan Soral 553b121f17 Open source 2023-10-15 13:06:58 +03:00