Hush test clone warnings
warning: You appear to have cloned an empty repository.
This commit is contained in:
+1
-1
@@ -27,7 +27,7 @@ def cloned_testpath(path)
|
|||||||
cloned = File.join(path, self.class.name)
|
cloned = File.join(path, self.class.name)
|
||||||
FileUtils.rm_rf(cloned)
|
FileUtils.rm_rf(cloned)
|
||||||
Dir.chdir(path) do
|
Dir.chdir(path) do
|
||||||
%x{git clone #{File.basename(repo)} #{self.class.name}}
|
%x{git clone #{File.basename(repo)} #{self.class.name} 2>/dev/null}
|
||||||
end
|
end
|
||||||
cloned
|
cloned
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user