summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/git.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/git.rs b/src/git.rs
index 2a8749c..08ba7a5 100644
--- a/src/git.rs
+++ b/src/git.rs
@@ -136,5 +136,8 @@ pub fn repo_commits(
commits.push(get_commit(&hash, &repo_name));
}
+ // Remove the cloned repository folder
+ let _ = remove_dir_all(get_tmp_dir(&repo_name));
+
Ok(commits)
}