Skip to content

Commit

Permalink
Revert "Add --quiet flag to scenario task (compound-finance#257)" (co…
Browse files Browse the repository at this point in the history
…mpound-finance#318)

This reverts commit 7b4bd0b.
  • Loading branch information
scott-silver authored Apr 21, 2022
1 parent a2a4945 commit faf43c8
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions tasks/scenario/task.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,16 +27,11 @@ task('scenario', 'Runs scenario tests')
.addOptionalParam('bases', 'Bases to run on [defaults to all]')
.addFlag('noSpider', 'skip spider')
.addFlag('sync', 'run synchronously')
.addFlag('quiet', 'set Ethers log level to OFF')
.addOptionalParam('stall', 'milliseconds to wait until we fail for stalling', 120000, types.int)
.addOptionalParam('workers', 'count of workers', 6, types.int)
.setAction(async (taskArgs, env: HardhatRuntimeEnvironment) => {
let bases: ForkSpec[] = getBasesFromTaskArgs(taskArgs.bases, env);

if (taskArgs.quiet) {
env.ethers.utils.Logger.setLogLevel(env.ethers.utils.Logger.levels.OFF);
}

if (!taskArgs.noSpider) {
await env.run('scenario:spider', taskArgs);
}
Expand Down

0 comments on commit faf43c8

Please sign in to comment.