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

Fixes #19867 - Fix Style/IfUnlessModifierOfIfUnless cop #6050

Merged
merged 1 commit into from
Sep 9, 2018
Merged

Fixes #19867 - Fix Style/IfUnlessModifierOfIfUnless cop #6050

merged 1 commit into from
Sep 9, 2018

Conversation

mmoll
Copy link
Contributor

@mmoll mmoll commented Sep 8, 2018

No description provided.

@theforeman-bot
Copy link
Member

Issues: #19867

@@ -547,7 +547,9 @@ def os_name_mapping(host)
end

def arch_name_mapping(host)
(host.architecture.name == 'x86_64') ? 'x64' : host.architecture.name.downcase if host.architecture
Copy link
Contributor Author

@mmoll mmoll Sep 8, 2018

Choose a reason for hiding this comment

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

This looks a bit strange and is maybe a case for the safe navigation operator, but I don't know the original background...

@tbrisker tbrisker merged commit b958ae5 into theforeman:develop Sep 9, 2018
@mmoll mmoll deleted the IfUnlessModifierOfIfUnless branch September 9, 2018 21:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants