Skip to content

Commit

Permalink
fix: incorrect appended string
Browse files Browse the repository at this point in the history
  • Loading branch information
MordechaiHadad committed Nov 5, 2024
1 parent 2643b01 commit 0136823
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/handlers/use_handler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ async fn add_to_path(installation_dir: PathBuf, config: ConfigFile) -> Result<()
shell => {
let files = shell.get_rcfiles()?;
for file in files {
what_the_path::shell::append_to_rcfile(file, &format!(". \"{}\"", installation_dir))?;
what_the_path::shell::append_to_rcfile(file, &format!(". \"{}\"", env_paths[0].to_str().unwrap().as_bytes()))?;

Check failure on line 373 in src/handlers/use_handler.rs

View workflow job for this annotation

GitHub Actions / clippy (ubuntu-latest)

`[u8]` doesn't implement `std::fmt::Display`

Check failure on line 373 in src/handlers/use_handler.rs

View workflow job for this annotation

GitHub Actions / check (macos-latest)

`[u8]` doesn't implement `std::fmt::Display`

Check failure on line 373 in src/handlers/use_handler.rs

View workflow job for this annotation

GitHub Actions / check (macos-latest)

`[u8]` doesn't implement `std::fmt::Display`

Check failure on line 373 in src/handlers/use_handler.rs

View workflow job for this annotation

GitHub Actions / check (ubuntu-latest)

`[u8]` doesn't implement `std::fmt::Display`

Check failure on line 373 in src/handlers/use_handler.rs

View workflow job for this annotation

GitHub Actions / check (ubuntu-latest)

`[u8]` doesn't implement `std::fmt::Display`

Check failure on line 373 in src/handlers/use_handler.rs

View workflow job for this annotation

GitHub Actions / clippy (ubuntu-latest)

`[u8]` doesn't implement `std::fmt::Display`

Check failure on line 373 in src/handlers/use_handler.rs

View workflow job for this annotation

GitHub Actions / test (macos-latest)

`[u8]` doesn't implement `std::fmt::Display`

Check failure on line 373 in src/handlers/use_handler.rs

View workflow job for this annotation

GitHub Actions / test (ubuntu-latest)

`[u8]` doesn't implement `std::fmt::Display`

Check failure on line 373 in src/handlers/use_handler.rs

View workflow job for this annotation

GitHub Actions / test (ubuntu-latest)

`[u8]` doesn't implement `std::fmt::Display`
}
}
}
Expand Down

0 comments on commit 0136823

Please sign in to comment.