mirror of
https://github.com/arnaucube/circom_tester.git
synced 2026-02-07 03:16:43 +01:00
comiler errors handled
This commit is contained in:
@@ -52,7 +52,9 @@ async function compile (fileName, options) {
|
||||
if (options.json) flags += "--json ";
|
||||
if (options.output) flags += "--output " + options.output + " ";
|
||||
|
||||
await exec("circom " + flags + fileName);
|
||||
b = await exec("circom " + flags + fileName);
|
||||
assert(b.stderr == "",
|
||||
"circom compiler error \n" + b.stderr);
|
||||
}
|
||||
|
||||
class WasmTester {
|
||||
|
||||
Reference in New Issue
Block a user