Skip to content

Commit 2a4bd6e

Browse files
committed
CH-166 fix syntax issue
1 parent 46188bb commit 2a4bd6e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tools/deployment-cli-tools/ch_cli_tools/codefresh.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,8 @@ def codefresh_steps_from_base_path(base_path, build_step, fixed_context=None, in
175175

176176
if app_config and app_config.dependencies and app_config.dependencies.git:
177177
for dep in app_config.dependencies.git:
178-
steps[CD_BUILD_STEP_DEPENDENCIES]['steps'][f"clone_{basename(dep.url).replace(".", "_")}_{basename(dockerfile_relative_to_root).replace(".", "_")}"] = clone_step_spec(dep, dockerfile_relative_to_root)
178+
step_name = f"clone_{basename(dep.url).replace('.', '_')}_{basename(dockerfile_relative_to_root).replace('.', '_')}"
179+
steps[CD_BUILD_STEP_DEPENDENCIES]['steps'][step_name] = clone_step_spec(dep, dockerfile_relative_to_root)
179180

180181
build = None
181182
if build_step in steps:

0 commit comments

Comments
 (0)