Skip to content

Commit

Permalink
remove duplicated await
Browse files Browse the repository at this point in the history
  • Loading branch information
jcubic committed Dec 6, 2024
1 parent 8b7b40b commit 8fc909a
Show file tree
Hide file tree
Showing 4 changed files with 85 additions and 109 deletions.
64 changes: 28 additions & 36 deletions dist/lips.cjs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

64 changes: 28 additions & 36 deletions dist/lips.esm.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

64 changes: 28 additions & 36 deletions dist/lips.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/lips.js
Original file line number Diff line number Diff line change
Expand Up @@ -11459,7 +11459,7 @@ function exec_collect(collect_callback) {
const input = Array.isArray(arg) ? arg : _parse(arg);
for await (let code of input) {
const value = await exec_with_stacktrace(code, { env, dynamic_env, use_dynamic });
results.push(collect_callback(code, await value));
results.push(collect_callback(code, value));
}
return results;
};
Expand Down

0 comments on commit 8fc909a

Please sign in to comment.