Make clippy happy

This commit is contained in:
Roey Darwish Dror
2021-04-06 09:52:34 +03:00
parent 572e8ffdf4
commit 8d55076cd3
3 changed files with 4 additions and 3 deletions

View File

@@ -42,7 +42,7 @@ fn check_output(output: Output) -> Result<()> {
}
}
async fn pull_repository(repo: String, git: &PathBuf, ctx: &ExecutionContext<'_>) -> Result<()> {
async fn pull_repository(repo: String, git: &Path, ctx: &ExecutionContext<'_>) -> Result<()> {
let path = repo.to_string();
let before_revision = get_head_revision(git, &repo);