Skip to content

Commit

Permalink
fix: clone in error display
Browse files Browse the repository at this point in the history
  • Loading branch information
amr-crabnebula committed Sep 6, 2023
1 parent 93fa280 commit 06b6119
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/packager/src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ pub enum Error {
#[error(transparent)]
Semver(#[from] semver::Error),
/// Non-numeric build metadata in app version.
#[error("optional build metadata in app version must be numeric-only {}", .0.unwrap_or_default())]
#[error("optional build metadata in app version must be numeric-only {}", .0.clone().unwrap_or_default())]
NonNumericBuildMetadata(Option<String>),
/// Invalid app version when building [crate::PackageFormat::Msi]
#[error("invalid app version: {0}")]
Expand Down

0 comments on commit 06b6119

Please sign in to comment.