File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1698,13 +1698,13 @@ def move_to_front(list, name):
1698
1698
print (f"{ name .ljust (name_width )} { cyan (description )} " )
1699
1699
elif list_mode == "expand" :
1700
1700
for project in projects :
1701
- expanded = project_registry .expand_dependencies ([project ])
1701
+ expanded = sort_by_project_dependencies ( project_registry .expand_dependencies ([project ]) )
1702
1702
print (' ' .join ([p .get_full_name () for p in expanded ]))
1703
1703
elif list_mode == "expand-all" :
1704
1704
for project in projects :
1705
1705
combinations_list = project_registry .expand_dependencies ([project ], return_all = True )
1706
1706
for combination in combinations_list :
1707
- print (' ' .join ([p .get_full_name () for p in combination ]))
1707
+ print (' ' .join ([p .get_full_name () for p in sort_by_project_dependencies ( combination ) ]))
1708
1708
else :
1709
1709
raise Exception (f"invalid list mode '{ list_mode } '" )
1710
1710
You can’t perform that action at this time.
0 commit comments