-
Notifications
You must be signed in to change notification settings - Fork 90
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
Bump Chefstyle and ready for dependabot #586
Conversation
Remove the gemfile.local sourcing which dependabot can't work with. This way we'll get nice PRs to bump deps including CVEs complete with changelogs showing us what's changed. Signed-off-by: Tim Smith <tsmith@chef.io>
Hello tas50! Thanks for the pull request! Here is what will happen next:
Thank you for contributing! |
@@ -54,7 +54,7 @@ def initialize(options) | |||
@bastion_user = @options.delete(:bastion_user) | |||
@bastion_port = @options.delete(:bastion_port) | |||
|
|||
@cmd_wrapper = CommandWrapper.load(self, @transport_options) | |||
@cmd_wrapper = CommandWrapper.load(self, @transport_options) |
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.
It looks relatively straightforward to me but I'll leave officially approval to someone on the core team who has had more time in train code than me. Quick question, was this a stylistic change?
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.
It satisfies a cop in the current ChefStyle:
lib/train/transports/ssh_connection.rb:57:31: C: Layout/SpaceAroundOperators: Operator = should be surrounded by a single space.
Alternatively the indenting can be kept and the blank line at line 56 deleted - that also satisfies the cop.
This current form looks correct to me as this @cmd_wrapper
isn't quite the same as the indented option passing lines above it.
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.
Thanks @tas50 !
Remove the gemfile.local sourcing which dependabot can't work with. This
way we'll get nice PRs to bump deps including CVEs complete with
changelogs showing us what's changed.
Signed-off-by: Tim Smith tsmith@chef.io