diff --git a/spcd/act.py b/spcd/act.py index 625e7fc..5b7c3c2 100644 --- a/spcd/act.py +++ b/spcd/act.py @@ -15,9 +15,8 @@ PREFIX = "INPUT_" def action() -> None: """Display action inputs.""" - for variable, value in sorted(projects.environment.items()): - if variable.startswith(PREFIX): - log.info("%s = %s", variable, value) + for variable, value in parse_inputs().items(): + log.info("%s = %s", variable, value) def parse_inputs() -> dict[str, object]: