Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
chenyan-dfinity committed Jan 17, 2024
1 parent 737e47e commit ca0358a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dfx/src/config/cache.rs
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ pub fn install_version(v: &str, force: bool) -> Result<PathBuf, CacheError> {

// Copy our own binary in the cache.
let dfx = temp_p.join("dfx");
#[allow(clippy::needless_borrow)]
#[allow(clippy::needless_borrows_for_generic_args)]
dfx_core::fs::write(
&dfx,
dfx_core::fs::read(&current_exe).map_err(UnifiedIoError::from)?,
Expand Down

0 comments on commit ca0358a

Please sign in to comment.