From fba2a84538a2d80199fb95e52e1c9bbebc8fb915 Mon Sep 17 00:00:00 2001 From: akorovacki Date: Thu, 2 Jan 2025 22:04:10 +0200 Subject: [PATCH] formatting fix --- crates/tauri-bundler/src/bundle/windows/nsis/mod.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/crates/tauri-bundler/src/bundle/windows/nsis/mod.rs b/crates/tauri-bundler/src/bundle/windows/nsis/mod.rs index afb52bfd92e1..40d1e66b7578 100644 --- a/crates/tauri-bundler/src/bundle/windows/nsis/mod.rs +++ b/crates/tauri-bundler/src/bundle/windows/nsis/mod.rs @@ -134,10 +134,10 @@ fn get_and_extract_nsis(nsis_toolset_path: &Path, _tauri_tools_path: &Path) -> c fn add_build_number_if_needed(version_str: &str) -> anyhow::Result { let version = semver::Version::parse(version_str).context("invalid app version")?; if !version.build.is_empty() { - return Ok(format!( - "{}.{}.{}.{}", - version.major, version.minor, version.patch, version.build - )); + return Ok(format!( + "{}.{}.{}.{}", + version.major, version.minor, version.patch, version.build + )); } Ok(format!(