Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
duvbell committed Dec 24, 2024
1 parent ddb8d3e commit 89f9eb0
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions crates/node/core/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,7 @@ fn main() -> Result<(), Box<dyn Error>> {
// - The latest version from Cargo.toml
// - The short SHA of the latest commit.
// Example: 0.1.0 (defa64b2)
println!(
"cargo:rustc-env=RETH_SHORT_VERSION={}",
format!("{pkg_version}{version_suffix} ({sha_short})")
);
println!("cargo:rustc-env=RETH_SHORT_VERSION={pkg_version}{version_suffix} ({sha_short})");

// LONG_VERSION
// The long version information for reth.
Expand Down Expand Up @@ -81,7 +78,7 @@ fn main() -> Result<(), Box<dyn Error>> {
// Example: reth/v0.1.0-alpha.1-428a6dc2f/aarch64-apple-darwin
println!(
"cargo:rustc-env=RETH_P2P_CLIENT_VERSION={}",
format!("reth/v{pkg_version}-{sha_short}/{}", env::var("VERGEN_CARGO_TARGET_TRIPLE")?)
format_args!("reth/v{pkg_version}-{sha_short}/{}", env::var("VERGEN_CARGO_TARGET_TRIPLE")?)
);

Ok(())
Expand Down

0 comments on commit 89f9eb0

Please sign in to comment.