Skip to content

Commit

Permalink
Use readFileSync
Browse files Browse the repository at this point in the history
Co-authored-by: Hadrien Croubois <[email protected]>
  • Loading branch information
cairoeth and Amxx authored Oct 23, 2024
1 parent 3322a26 commit f30191f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion certora/run.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ function match(entry, request) {
return entry.spec == reqSpec && (!reqContract || entry.contract == reqContract);
}

const specs = JSON.parse(await fs.readFile(argv.spec, 'utf8')).filter(s => argv.all || argv._.some(r => match(s, r)));
const specs = JSON.parse(fs.readFileSync(argv.spec, 'utf8')).filter(s => argv.all || argv._.some(r => match(s, r)));

const limit = pLimit(argv.parallel);

Expand Down

0 comments on commit f30191f

Please sign in to comment.