Skip to content

Commit

Permalink
chore(cli): fix clippy warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasfernog committed Dec 15, 2022
1 parent d7ffa7f commit cf09864
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tooling/cli/src/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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())?;

Expand Down
2 changes: 1 addition & 1 deletion tooling/cli/src/dev.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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())?;

Expand Down

0 comments on commit cf09864

Please sign in to comment.