From a4f9f5a3a93ff973b2ff1a1f816dd7c9c0de7de1 Mon Sep 17 00:00:00 2001 From: Andreas Resch Date: Sun, 31 Dec 2023 17:24:34 +0100 Subject: [PATCH] fix tests --- cli/generators/cli.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cli/generators/cli.py b/cli/generators/cli.py index e6cc7915..e96cac4d 100644 --- a/cli/generators/cli.py +++ b/cli/generators/cli.py @@ -202,11 +202,11 @@ def generate(self) -> str: we don't want to handle the credentials in the CI system. :return: bash script """ - self.result = [] + self.result = "" utils.replace_environment_variables_in_windfile(environment=self.environment, windfile=self.windfile) self.add_repository_urls_to_environment() for step in self.windfile.actions: if isinstance(step.root, ScriptAction): self.handle_step(name=step.root.name, step=step.root, call=not step.root.runAlways) - self.result.append(self.generate_using_jinja2()) + self.result = self.generate_using_jinja2() return super().generate()