Skip to content

Commit

Permalink
fix(autolog): Default setting
Browse files Browse the repository at this point in the history
Signed-off-by: dark0dave <[email protected]>
  • Loading branch information
dark0dave committed Jul 5, 2024
1 parent 2c8c7e9 commit ed57b12
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/args.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ pub struct Args {
pub timeout: usize,

/// Weidu log setting "--autolog" is default
#[clap(env, long, short='u', default_value = "--autolog", value_parser = parse_weidu_log_mode, required = false)]
#[clap(env, long, short='u', default_value = "autolog", value_parser = parse_weidu_log_mode, required = false)]
pub weidu_log_mode: String,
}

Expand Down
2 changes: 1 addition & 1 deletion src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ pub fn copy_mod_folder(game_directory: &Path, mod_folder: &Path) {
options.skip_exist = true;
let copied = copy(mod_folder, game_directory, &options);
if let Err(error) = copied {
log::error!("Failed to copy with error: {}", error);
log::error!("Failed to copy mod {:?} with error: {}", mod_folder, error);
panic!()
}
}
Expand Down

0 comments on commit ed57b12

Please sign in to comment.