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

Refactor: return on same line as error #122

Merged
merged 1 commit into from
Nov 4, 2022
Merged

Conversation

Gudahtt
Copy link
Member

@Gudahtt Gudahtt commented Nov 4, 2022

The CLI has been refactored to return on the same line an error is handled (by logging and setting the exit code). This is easier to read and less error prone (reduced risk of forgetting to return).

@Gudahtt
Copy link
Member Author

Gudahtt commented Nov 4, 2022

This depends upon #121

Base automatically changed from get-package-version-from-manifest to main November 4, 2022 14:00
The CLI has been refactored to `return` on the same line an error is
handled (by logging and setting the exit code). This is easier to read
and less error prone (reduced risk of forgetting to `return`).
@Gudahtt Gudahtt force-pushed the return-on-same-line-as-error branch from 749627c to 3daa425 Compare November 4, 2022 14:01
@Gudahtt Gudahtt marked this pull request as ready for review November 4, 2022 14:02
@Gudahtt Gudahtt requested a review from a team as a code owner November 4, 2022 14:02
@Gudahtt Gudahtt requested a review from legobeat November 4, 2022 14:03
@Gudahtt Gudahtt merged commit f9a33a7 into main Nov 4, 2022
@Gudahtt Gudahtt deleted the return-on-same-line-as-error branch November 4, 2022 15:32
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.

2 participants