mirror of
https://github.com/tauri-apps/tauri.git
synced 2026-04-03 10:11:15 +02:00
chore(cli): fix clippy warnings
This commit is contained in:
@@ -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())?;
|
||||
|
||||
|
||||
@@ -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())?;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user