Skip to content

Commit

Permalink
remove reference
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaBatty committed Mar 7, 2022
1 parent af61c47 commit 017fd01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion forc/src/pkg.rs
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,7 @@ where
F: FnOnce(git2::Repository) -> Result<O>,
{
// Clear existing temporary directory if it exists.
let repo_dir = tmp_git_repo_dir(name, &source);
let repo_dir = tmp_git_repo_dir(name, source);
if repo_dir.exists() {
let _ = std::fs::remove_dir_all(&repo_dir);
}
Expand Down

0 comments on commit 017fd01

Please sign in to comment.