mirror of
https://github.com/tauri-apps/tauri.git
synced 2024-09-11 07:55:34 +03:00
chore(cli): fix clippy warnings
This commit is contained in:
parent
d7ffa7f95e
commit
cf0986491c
@ -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())?;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user