Skip to content

Commit

Permalink
Fix markdown printing
Browse files Browse the repository at this point in the history
Signed-off-by: Oliver Tale-Yazdi <[email protected]>
  • Loading branch information
ggwpez committed Mar 10, 2024
1 parent 9ccd006 commit 00abf3f
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 8 deletions.
6 changes: 3 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ cargo-features = ["strip"]
[workspace.package]
edition = "2021"
authors = ["Oliver Tale-Yazdi <[email protected]>"]
version = "3.3.1"
version = "3.4.0"
repository = "https://github.com/ggwpez/substrate-weight-compare"
readme = "README.md"
keywords = [ "polkadot", "substrate", "blockchain" ]
Expand All @@ -17,8 +17,10 @@ members = [
"web"
]

resolver = "2"

[workspace.dependencies]
subweight-core = { version = "3.3.1", path = "core" }
subweight-core = { version = "3.4.0", path = "core" }

clap = { version = "4.4.7", features = ["derive"] }
env_logger = "0.10.0"
Expand Down
4 changes: 2 additions & 2 deletions cli/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ struct MainCmd {
#[clap(subcommand)]
subcommand: SubCommand,

#[clap(long)]
#[clap(long, global = true)]
verbose: bool,
}

Expand Down Expand Up @@ -242,7 +242,7 @@ fn print_changes(
_ => Err("Unsupported output format".into()),
};

print(output?, verbose);
println!("{}", output?);
Ok(())
}

Expand Down
2 changes: 1 addition & 1 deletion rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[toolchain]
channel = "1.71.0"
channel = "1.74.0"
components = [ "rustfmt", "clippy" ]
profile = "minimal"

0 comments on commit 00abf3f

Please sign in to comment.