fix backslash and filenames
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
**Bug Fixes:**
|
||||
|
||||
- Hayabusa would crash with `-L` option (logon summary option). (#674) (@hitenkoku)
|
||||
- Fixed custom config directory does not load files. (#681) (@hitenkoku)
|
||||
- Hayabusa would continue to scan without the correct config files but now will print and error and gracefully terminate. (#681) (@hitenkoku)
|
||||
|
||||
## v1.5.1 [2022/08/20]
|
||||
|
||||
|
||||
@@ -411,11 +411,11 @@ pub fn check_rule_config() -> Result<(), String> {
|
||||
|
||||
// 各種ファイルを確認する
|
||||
let files = vec![
|
||||
"channgel_abbrevations.txt",
|
||||
"channel_abbreviations.txt",
|
||||
"target_event_IDs.txt",
|
||||
"default_details.txt",
|
||||
"level_tuning.txt",
|
||||
"statics_event_info.txt",
|
||||
"statistics_event_info.txt",
|
||||
"eventkey_alias.txt",
|
||||
];
|
||||
let mut not_exist_file = vec![];
|
||||
@@ -427,7 +427,7 @@ pub fn check_rule_config() -> Result<(), String> {
|
||||
|
||||
if !not_exist_file.is_empty() {
|
||||
return Err(format!(
|
||||
"Could not find the config file: {}¥nPlease specify a correct rules config directory",
|
||||
"Could not find the following config files: {}\nPlease specify a correct rules config directory.\n",
|
||||
not_exist_file.join(", ")
|
||||
));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user