Skip to content

Commit

Permalink
Update tutorpicasso/commands/run_extra_commands.py
Browse files Browse the repository at this point in the history
Co-authored-by: Maria Grimaldi <[email protected]>
  • Loading branch information
MaferMazu and mariajgrimaldi authored Aug 20, 2024
1 parent 42e0c81 commit 2d5545b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tutorpicasso/commands/run_extra_commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@ def run_extra_commands() -> None:
picasso_extra_commands: Any = config.get("PICASSO_EXTRA_COMMANDS", None)
if picasso_extra_commands is not None:
validate_commands(picasso_extra_commands)
for command in picasso_extra_commands:
run_command(command)
list(map(run_command, picasso_extra_commands))


def validate_commands(commands: Any) -> None:
Expand Down

0 comments on commit 2d5545b

Please sign in to comment.