1
0
Fork 0

fix issue as 'all' can't be built

This commit is contained in:
Christian Kühnel 2020-05-11 16:09:27 +02:00
parent e357d584d7
commit 2264ff6c41

View file

@ -89,7 +89,7 @@ def _select_projects(config: Configuration, projects: str, repo_path: str) -> st
patch = repo.git.diff("HEAD~1") patch = repo.git.diff("HEAD~1")
enabled_projects = ';'.join(cp.choose_projects(patch)) enabled_projects = ';'.join(cp.choose_projects(patch))
if enabled_projects is None or len(enabled_projects) == 0: if enabled_projects is None or len(enabled_projects) == 0:
enabled_projects = 'all' enabled_projects = cp.get_all_enabled_projects()
return enabled_projects return enabled_projects
return projects return projects