Fixed cloning of objects

This commit is contained in:
Marcin Grzejszczak
2019-01-03 10:59:02 +01:00
parent 120820ff9c
commit e22f5ec76e
4 changed files with 209 additions and 14 deletions

View File

@@ -143,9 +143,11 @@ class GitContractsRepo {
else {
if (log.isDebugEnabled()) {
log.debug("The project has already been cloned to [" + file
+ "]. Will reset any changes.");
+ "]. Will reset any changes and pull the latest ones.");
}
new GitRepo(file, properties).reset(file);
GitRepo gitRepo = new GitRepo(file, properties);
gitRepo.reset(file);
gitRepo.pull(file);
}
return file;
}