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

Further reduce the complexity of Changelog#to_s #21

Merged
merged 1 commit into from
Nov 17, 2022

Conversation

jcouball
Copy link
Member

CodeClimate reported that CreateGithubRelease::Changelog#to_s has a Cognitive Complexity of 6 (exceeds 5 allowed). Consider refactoring.

This change fixes that warning.

@jcouball jcouball requested a review from a team as a code owner November 17, 2022 00:02
@codeclimate
Copy link

codeclimate bot commented Nov 17, 2022

Code Climate has analyzed commit e38a476 and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 100.0% (50% is the threshold).

This pull request will bring the total coverage in the repository to 100.0% (0.0% change).

View more on Code Climate.

@jcouball jcouball merged commit 7880c89 into main Nov 17, 2022
@jcouball jcouball deleted the fix_changelog_to_s_2 branch November 17, 2022 00:28
@jcouball jcouball mentioned this pull request Nov 17, 2022
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

1 participant