Skip to content

Commit

Permalink
Fix numbering of steps during build (#715)
Browse files Browse the repository at this point in the history
  • Loading branch information
SkymanOne authored Aug 30, 2022
1 parent 3d24c62 commit 990b3ec
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/cmd/metadata.rs
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ pub(crate) fn execute(
} = extended_metadata(crate_metadata, final_contract_wasm)?;

let generate_metadata = |manifest_path: &ManifestPath| -> Result<()> {
let mut current_progress = 4;
let mut current_progress = 5;
maybe_println!(
verbosity,
" {} {}",
Expand Down
4 changes: 2 additions & 2 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -260,8 +260,8 @@ impl BuildArtifacts {
/// Used as output on the cli.
pub fn steps(&self) -> usize {
match self {
BuildArtifacts::All => 5,
BuildArtifacts::CodeOnly => 3,
BuildArtifacts::All => 6,
BuildArtifacts::CodeOnly => 4,
BuildArtifacts::CheckOnly => 2,
}
}
Expand Down

0 comments on commit 990b3ec

Please sign in to comment.