Skip to content

Commit

Permalink
FIxing harness cover
Browse files Browse the repository at this point in the history
  • Loading branch information
kevin-valerio committed Oct 14, 2024
1 parent e8d7460 commit 1d0457c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ enum Commands {
Run,
/// Generate a coverage report, only of the harness. You won't have your contract coverage here
/// (mainly for debugging purposes only)
HarnessCover(Contract),
HarnessCover,
/// Generate a coverage report for your smart-contract
Coverage(Contract),
/// Execute one seed
Expand Down Expand Up @@ -150,8 +150,8 @@ fn handle_cli() -> anyhow::Result<()> {
)?;
fuzzer.execute_harness(ExecuteOneInput(seed))
}
Commands::HarnessCover(contract_path) => {
ZiggyConfig::new_with_contract(config, contract_path.contract_path)
Commands::HarnessCover => {
ZiggyConfig::new(config)
.context("Couldn't generate handle the ZiggyConfig")?
.ziggy_cover()
}
Expand Down

0 comments on commit 1d0457c

Please sign in to comment.