-
Notifications
You must be signed in to change notification settings - Fork 325
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
Rubocop: Fix more Style cops #1791
Conversation
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## master #1791 +/- ##
==========================================
+ Coverage 74.35% 74.65% +0.30%
==========================================
Files 82 81 -1
Lines 4605 4494 -111
==========================================
- Hits 3424 3355 -69
+ Misses 1181 1139 -42
... and 1 file with indirect coverage changes Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report in Codecov by Sentry. |
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.
LGTM
@@ -129,7 +129,7 @@ module Shared | |||
myhosts = host_handler.run_block_on(hosts, nil, { :run_in_parallel => true }) do |host| | |||
# kind of hacky workaround to remove logger which contains a singleton method injected by rspec | |||
|
|||
host.instance_eval("remove_instance_variable(:@logger)") | |||
host.instance_eval("remove_instance_variable(:@logger)", __FILE__, __LINE__) |
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 think this could be way simpler:
host.instance_eval("remove_instance_variable(:@logger)", __FILE__, __LINE__) | |
host.send(:remove_instance_variable, :@logger) |
No description provided.