Fix nightly clippy warnings (#872)

This commit is contained in:
Tommaso Melacarne
2024-07-22 01:33:42 +02:00
committed by GitHub
parent f3b6530969
commit fdf40dbf43
3 changed files with 8 additions and 12 deletions

View File

@@ -229,7 +229,7 @@ pub fn run_oh_my_zsh(ctx: &ExecutionContext) -> Result<()> {
custom_repos.remove(&oh_my_zsh);
ctx.run_type()
.execute("zsh")
.arg(&oh_my_zsh.join("tools/upgrade.sh"))
.arg(oh_my_zsh.join("tools/upgrade.sh"))
// oh-my-zsh returns 80 when it is already updated and no changes pulled
// in this update.
// See this comment: https://github.com/r-darwish/topgrade/issues/569#issuecomment-736756731