Skip to content

Commit 63788df

Browse files
committed
Fix molecule matrix with no scenario name.
1 parent 946153a commit 63788df

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/molecule/command/matrix.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -94,5 +94,6 @@ def matrix(
9494
args: MoleculeArgs = ctx.obj.get("args")
9595
command_args: CommandArgs = {"subcommand": subcommand}
9696

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

0 commit comments

Comments
 (0)