Skip to content

Commit 51039da

Browse files
committed
πŸ›(main): fix file extension deal bug
1 parent b51b35f commit 51039da

3 files changed

Lines changed: 2 additions & 2 deletions

File tree

β€ŽCargo.tomlβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "icu_tool"
3-
version = "0.1.11"
3+
version = "0.1.11-1"
44
edition = "2021"
55
authors = ["Benign X", "W-Mai"]
66
homepage = "https://github.com/W-Mai/icu"

β€Žsrc/main.rsβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ fn deal_path_without_extension(
252252
.ok_or("Unable to get parent folder of input file")?;
253253

254254
let file_name = file_path.file_name().unwrap_or_default();
255-
let output_file_name = Path::new(file_name).with_extension("");
255+
let output_file_name = Path::new(file_name).with_extension("PLACEHOLDER");
256256
let mut output_file_path = file_folder.join(&output_file_name);
257257

258258
if let Some(output_folder) = output_folder {

0 commit comments

Comments
Β (0)