Skip to content

Commit

Permalink
fix(forge): safe project clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
mattsse committed Dec 4, 2021
1 parent 96df4e0 commit 2c9099e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/src/forge_opts.rs
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ impl std::convert::TryFrom<&BuildOpts> for Project {
// if `--force` is provided, it proceeds to remove the cache
// and recompile the contracts.
if opts.force {
crate::utils::cleanup(root)?;
project.cleanup()?;
}

Ok(project)
Expand Down

0 comments on commit 2c9099e

Please sign in to comment.