Skip to content

Commit

Permalink
Exclude the vendor dir in rubocop
Browse files Browse the repository at this point in the history
Also fix the remaining rubocop warning

Signed-off-by: Tim Smith <tsmith@chef.io>
  • Loading branch information
tas50 committed Dec 18, 2018
1 parent 26a77a4 commit 20af010
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions .rubocop.yml
Expand Up @@ -3,6 +3,7 @@ AllCops:
- 'appveyor.yml'
- 'Vagrantfile'
- 'scripts/**/*'
- 'vendor/**/*'

Style/Encoding:
Enabled: true
Expand Down
1 change: 0 additions & 1 deletion lib/winrm/shells/power_shell.rb
Expand Up @@ -147,7 +147,6 @@ def empty_pipeline_envelope
end

def max_envelope_size_kb
# rubocop:disable Layout/RescueEnsureAlignment
@max_envelope_size_kb ||= begin
config_msg = WinRM::WSMV::Configuration.new(connection_opts)
msg = config_msg.build
Expand Down

0 comments on commit 20af010

Please sign in to comment.