From 2d5545b6c6b1d71cce3fefa7c94211794afe6919 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mar=C3=ADa=20Fernanda=20Magallanes?= <35668326+MaferMazu@users.noreply.github.com> Date: Tue, 20 Aug 2024 15:09:40 -0500 Subject: [PATCH] Update tutorpicasso/commands/run_extra_commands.py Co-authored-by: Maria Grimaldi --- tutorpicasso/commands/run_extra_commands.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tutorpicasso/commands/run_extra_commands.py b/tutorpicasso/commands/run_extra_commands.py index 40732c2..3469cbe 100644 --- a/tutorpicasso/commands/run_extra_commands.py +++ b/tutorpicasso/commands/run_extra_commands.py @@ -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: