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

Fix Style/ReductantReturn rubocop #1850

Merged
merged 1 commit into from
Dec 4, 2017
Merged

Conversation

SidharthBansal
Copy link
Contributor

Fixed Style/ReductantReturn rubocop offenses and deleted exclusions from .rubocop_todo.yml
This cop checks for redundant return expressions. It supports autocorrection.
Fixed #1824.

Copy link
Member

@Ana06 Ana06 left a comment

Choose a reason for hiding this comment

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

The code look great 😍 But the commit message has the same problems as in your other PR. Please read our commit guidelines. 😉

@SidharthBansal
Copy link
Contributor Author

I am really sorry for not writing the commit message. I have read the contribution guidelines. Will follow it definitely from next time.

@Ana06
Copy link
Member

Ana06 commented Dec 4, 2017

@SidharthBansal

I am really sorry for not writing the commit message. I have read the contribution guidelines. Will follow it definitely from next time.

And please modify it in this PR as well. Do you know how to do it? If not ask and I'll help you 😉

Exclusions from .rubocop_todo.yml deleted.This cop checks for redundant return expressions.
Fixes openSUSE#1824
@SidharthBansal
Copy link
Contributor Author

@Ana06
Is it correct now?

Copy link
Member

@Ana06 Ana06 left a comment

Choose a reason for hiding this comment

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

@SidharthBansal yep! It looks great! 😉

@Ana06 Ana06 merged commit 666f5ab into openSUSE:master Dec 4, 2017
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