Skip to content

Commit

Permalink
combo command verbose current combo fix.
Browse files Browse the repository at this point in the history
When current combo is not in the combo_list, update both combo_list and all_combos.

verbose combo error while archived combo is checked out
tianocore#231

Signed-off-by: Nathaniel Haller <[email protected]>
  • Loading branch information
ndhaller authored and ashedesimone committed Jun 4, 2024
1 parent 2271eed commit 5afcd61
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions edkrepo/commands/combo_command.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ def run_command(self, args, config):
all_combos.extend(manifest.archived_combinations)
if manifest.general_config.current_combo not in combo_list:
combo_list.append(manifest.general_config.current_combo)
all_combos.extend(c for c in manifest.archived_combinations if c.name == manifest.general_config.current_combo)
for combo in sorted(combo_list):
if args.verbose:
description = [c.description for c in all_combos if c.name == combo]
Expand Down

0 comments on commit 5afcd61

Please sign in to comment.