Closed alchatti closed 5 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 91.23%. Comparing base (
0c453ac
) to head (47f2e00
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Thanks for the PR! I added some tests.
Motivation When using the latest version of acli which is 2.23.1 the command auth:login [-k|--key KEY] [-s|--secret SECRET] no longer works and generates the following error. This occurs when
acli -n telemetry:disable
is set before auth for CI/CD pipelines.The issue is triggered during CI/CD pipeline by set some settings for the CLI before auth function such as switching on/off the telemetry.
Fixes #1708
Proposed changes if condition fix, update the cli only.
Alternatives considered reduce the number of required changes in code
Testing steps
./bin/acli ckc
acli -n telemetry:disable
to create the~/.acquia/cloud_api.conf
auth:login [-k|--key KEY] [-s|--secret SECRET]