Skip to content

Commit e09a86b

Browse files
author
bayashi
committed
fix
1 parent e9b0664 commit e09a86b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src-tauri/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,10 @@ fn get_config_file() -> String {
6363
}
6464
}
6565

66-
const OLD_CONFIG_DIR: String = if IS_DEV { "mclocks.dev".to_string() } else { "mclocks".to_string() };
66+
const OLD_CONFIG_DIR: &str = if IS_DEV { "mclocks.dev" } else { "mclocks" };
6767

6868
fn get_old_config_app_path() -> String {
69-
vec![OLD_CONFIG_DIR, get_config_file()].join("/")
69+
vec![OLD_CONFIG_DIR, &get_config_file()].join("/")
7070
}
7171

7272
fn get_config_app_path() -> String {

0 commit comments

Comments
 (0)