mirror of
https://codeberg.org/icewind/haze.git
synced 2026-06-03 17:14:08 +02:00
clippy fixes
This commit is contained in:
parent
39ba7a2a53
commit
cd9740675f
2 changed files with 3 additions and 3 deletions
|
|
@ -99,7 +99,7 @@ pub fn pull_all(config: &HazeConfig) -> Result<()> {
|
|||
pool.install(|| {
|
||||
repos.par_iter().for_each(|app_dir| {
|
||||
let app_name = app_dir.file_name().unwrap().to_string_lossy();
|
||||
let Ok(repo) = Repository::init(&app_dir) else {
|
||||
let Ok(repo) = Repository::init(app_dir) else {
|
||||
return;
|
||||
};
|
||||
let branch_name = current_branch_name(&repo).unwrap_or("unknown".into());
|
||||
|
|
@ -126,7 +126,7 @@ pub fn pull_all(config: &HazeConfig) -> Result<()> {
|
|||
|
||||
let output = match Command::new(GIT_BINARY)
|
||||
.arg("pull")
|
||||
.current_dir(&app_dir)
|
||||
.current_dir(app_dir)
|
||||
.output()
|
||||
{
|
||||
Ok(output) => output,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue