From 2c275da020483370028b98345c63708b22ad2f82 Mon Sep 17 00:00:00 2001 From: Richard Robert Reitz Date: Thu, 2 Oct 2025 14:58:35 +0200 Subject: [PATCH] fix(cli): make use of new cli argument --- endpoint.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/endpoint.sh b/endpoint.sh index 5e7645b..e5781f5 100755 --- a/endpoint.sh +++ b/endpoint.sh @@ -25,12 +25,10 @@ main() { args+=("--dry-run") fi - echo Executing: "${cli_path}" apply "${args[@]}" + echo Executing: "${cli_path}" apply --auto-approve "${args[@]}" # The CLI uses an interactive prompt, so we need to pipe "yes" to it. - yes | "${cli_path}" apply "${args[@]}" - - exit $? + "${cli_path}" apply --auto-approve "${args[@]}" } main