Skip to content

Commit 30fb5bb

Browse files
committed
Fix cleanup being private
1 parent 275c5f9 commit 30fb5bb

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lib/git_repo.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,10 @@ def diffs
6060
end
6161
end
6262

63+
def cleanup
64+
FileUtils.rm_rf(repo_local_path)
65+
end
66+
6367
private
6468

6569
def make_temp_dir(project_name)
@@ -76,10 +80,6 @@ def clone(project_path)
7680
Rugged::Repository.new(project_path)
7781
end
7882

79-
def cleanup
80-
FileUtils.rm_rf(repo_local_path)
81-
end
82-
8383
def build_commit_hash(commit)
8484
# Make a hash that looks a bit like GitHub commit
8585
{

0 commit comments

Comments
 (0)