File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -88,16 +88,17 @@ def install_shed_repos(
8888 install_results .errored_repositories .extend (update_results .errored_repositories )
8989 updated_repos = update_results .installed_repositories
9090 else :
91- updated_repos = None
91+ updated_repos = []
9292
9393 if install_results .errored_repositories :
94+ msg = f"{ FAILED_REPOSITORIES_MESSAGE } : \n { yaml .safe_dump (install_results .errored_repositories )} "
9495 if ignore_dependency_problems :
95- warn (FAILED_REPOSITORIES_MESSAGE )
96+ warn (msg )
9697 else :
97- raise Exception (FAILED_REPOSITORIES_MESSAGE )
98- return install_results .installed_repositories , updated_repos
98+ raise Exception (msg )
99+ return InstalledShedRepos ( install_results .installed_repositories , updated_repos )
99100 else :
100- return None , None
101+ return InstalledShedRepos ([], [])
101102
102103
103104def import_workflow (path , admin_gi , user_gi , from_path = False ):
You can’t perform that action at this time.
0 commit comments