fix lint
This commit is contained in:
@ -59,12 +59,17 @@ if (process.exitCode) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
for (const { spec, contract, files, options = [] } of specs) {
|
for (const { spec, contract, files, options = [] } of specs) {
|
||||||
limit(runCertora, spec, contract, files, [...options, ...argv.options].flatMap(opt => opt.split(' ')));
|
limit(runCertora, spec, contract, files, [...options, ...argv.options]);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Run certora, aggregate the output and print it at the end
|
// Run certora, aggregate the output and print it at the end
|
||||||
async function runCertora(spec, contract, files, options = []) {
|
async function runCertora(spec, contract, files, options = []) {
|
||||||
const args = [...files, '--verify', `${contract}:certora/specs/${spec}.spec`, ...options];
|
const args = [
|
||||||
|
...files,
|
||||||
|
'--verify',
|
||||||
|
`${contract}:certora/specs/${spec}.spec`,
|
||||||
|
...options.flatMap(opt => opt.split(' ')),
|
||||||
|
];
|
||||||
const child = proc.spawn('certoraRun', args);
|
const child = proc.spawn('certoraRun', args);
|
||||||
|
|
||||||
const stream = new PassThrough();
|
const stream = new PassThrough();
|
||||||
|
|||||||
Reference in New Issue
Block a user