fix check circom version

This commit is contained in:
krlosMata
2021-10-17 23:30:16 +02:00
parent 15ddd2a0be
commit 89bcaf436e
2 changed files with 2 additions and 2 deletions

View File

@@ -202,7 +202,7 @@ function check_versions ( v1, v2 ) {
}
async function compiler_above_version(v) {
let output = await exec('circom --version').toString();
let output = (await exec('circom --version')).stdout;
let compiler_version = version_to_list(output.slice(output.search(/\d/),-1));
vlist = version_to_list(v);
return check_versions ( compiler_version, vlist );