-
-
Notifications
You must be signed in to change notification settings - Fork 101
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
modulesync 3.0.0 & puppet-lint updates #188
Conversation
@@ -34,7 +34,7 @@ function yum::bool2num_hash_recursive($arg) { | |||
Hash => yum::bool2num_hash_recursive($value), | |||
default => $value, | |||
} | |||
Hash({ $key => $return_value }) | |||
Hash( { $key => $return_value }) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This one looks odd. Why is Hash()
needed in he first place? I think the whole map can be removed and put in the reduce.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I took a stab at it, but couldn't get rid of it. This does suggest a bug in the strict linting. If it at least also allowed a space at the end it would at least be symmetrical, but now it isn't.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I raised voxpupuli/puppet-lint-manifest_whitespace-check#8 for this. Should we continue and merge this as is?. Because the PR fixes some gemfile dependencies.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should definitely merge it. A linting issue shouldn't hold up fixes.
Co-authored-by: Ewoud Kohl van Wijngaarden <[email protected]>
@@ -34,7 +34,7 @@ function yum::bool2num_hash_recursive($arg) { | |||
Hash => yum::bool2num_hash_recursive($value), | |||
default => $value, | |||
} | |||
Hash({ $key => $return_value }) | |||
Hash( { $key => $return_value }) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should definitely merge it. A linting issue shouldn't hold up fixes.
modulesync 3.0.0