Browse Source

fix check circom version

fix/check-version
krlosMata 3 years ago
parent
commit
89bcaf436e
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      c/tester.js
  2. +1
    -1
      wasm/tester.js

+ 1
- 1
c/tester.js

@ -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 );

+ 1
- 1
wasm/tester.js

@ -193,7 +193,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 );

Loading…
Cancel
Save