From 620175967dcca58c16d519d895e4ad1c470db6b1 Mon Sep 17 00:00:00 2001 From: Mohamed ElAsmar Date: Fri, 26 May 2023 15:42:36 -0700 Subject: [PATCH] fix: fix the hardcoded number of stages printed in logs. --- samcli/commands/pipeline/init/interactive_init_flow.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samcli/commands/pipeline/init/interactive_init_flow.py b/samcli/commands/pipeline/init/interactive_init_flow.py index e5347be567..b6c93acc4f 100644 --- a/samcli/commands/pipeline/init/interactive_init_flow.py +++ b/samcli/commands/pipeline/init/interactive_init_flow.py @@ -256,7 +256,7 @@ def _generate_from_pipeline_template( continue click.echo( Colored().yellow( - "2 stage(s) were detected, matching the template requirements. " + f"{number_of_stages} stage(s) were detected, matching the template requirements. " "If these are incorrect, delete .aws-sam/pipeline/pipelineconfig.toml and rerun" ) )