fixed concurency on reduction
This commit is contained in:
parent
dcd774fd9b
commit
0b78dbcbe9
1 changed files with 2 additions and 1 deletions
3
run.ts
3
run.ts
|
@ -28,7 +28,8 @@ const raw_sources = await Promise.all(
|
||||||
input_files.map((f) => Deno.readTextFile(f)),
|
input_files.map((f) => Deno.readTextFile(f)),
|
||||||
);
|
);
|
||||||
console.log(col.blue("---- diff to runnable sections ----"));
|
console.log(col.blue("---- diff to runnable sections ----"));
|
||||||
const sources = await Promise.all(raw_sources.map(reduce_to_runable));
|
const sources = [] as string[];
|
||||||
|
for (const s of raw_sources) sources.push(await reduce_to_runable(s));
|
||||||
const prelude = sources.join("\n");
|
const prelude = sources.join("\n");
|
||||||
|
|
||||||
const tests_dir = cli.parameter_value("tests")!;
|
const tests_dir = cli.parameter_value("tests")!;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue