Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid duplicate error message output #289

Merged
merged 2 commits into from Jan 1, 2023

Conversation

stoned
Copy link
Contributor

@stoned stoned commented Jan 1, 2023

what

  • The Execute*Cmd() functions do not need to print a possible error message from cfg.InitCliConfig() as their callers already do that.

why

... as the functions calling Execute*Cmd() display any error from
InitCliConfig() before exiting.
@stoned stoned requested review from a team as code owners January 1, 2023 14:03
@cloudpossebot cloudpossebot requested a review from a team as a code owner January 1, 2023 14:04
Copy link
Member

@aknysh aknysh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks @stoned

@aknysh aknysh merged commit 3b62c54 into cloudposse:master Jan 1, 2023
@stoned stoned deleted the avoid-dup-errmsg branch January 1, 2023 19:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants