Skip to content

Commit

Permalink
Fix molecule matrix with no scenario name. (#4400)
Browse files Browse the repository at this point in the history
  • Loading branch information
Qalthos authored Feb 19, 2025
1 parent 946153a commit d82271a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/molecule/command/matrix.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,5 +94,6 @@ def matrix(
args: MoleculeArgs = ctx.obj.get("args")
command_args: CommandArgs = {"subcommand": subcommand}

s = scenarios.Scenarios(base.get_configs(args, command_args), [scenario_name])
scenario_names = [] if scenario_name is None else [scenario_name]
s = scenarios.Scenarios(base.get_configs(args, command_args), scenario_names)
s.print_matrix()

0 comments on commit d82271a

Please sign in to comment.