chore(cli): fix clippy warnings

This commit is contained in:
Lucas Nogueira
2022-12-15 18:30:32 -03:00
parent d7ffa7f95e
commit cf0986491c
2 changed files with 2 additions and 2 deletions

View File

@@ -74,7 +74,7 @@ pub fn command(mut options: Options) -> Result<()> {
options.config = merge_config;
let tauri_path = tauri_dir();
set_current_dir(&tauri_path).with_context(|| "failed to change current working directory")?;
set_current_dir(tauri_path).with_context(|| "failed to change current working directory")?;
let config = get_config(options.config.as_deref())?;

View File

@@ -88,7 +88,7 @@ fn command_internal(mut options: Options) -> Result<()> {
None
};
set_current_dir(&tauri_path).with_context(|| "failed to change current working directory")?;
set_current_dir(tauri_path).with_context(|| "failed to change current working directory")?;
let config = get_config(options.config.as_deref())?;