Skip to content

Commit

Permalink
Merge pull request #514 from inspec/linting
Browse files Browse the repository at this point in the history
Fix chefstyle warnings
  • Loading branch information
tas50 committed Sep 4, 2019
2 parents b28331f + 5387e37 commit 9fe2b0e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/train/transports/mock.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def trace_calls
}

# rubocop:disable Metrics/ParameterLists
# rubocop:disable Lint/Eval
# rubocop:disable Security/Eval
set_trace_func(proc { |event, _file, _line, id, binding, classname|
unless classname.to_s.start_with?("Train::Transports::Mock") &&
(event == "call") &&
Expand Down
2 changes: 1 addition & 1 deletion lib/train/transports/ssh_connection.rb
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ def uri
end

# remote_port_forwarding
def forward_remote(port, host, remote_port, remote_host = '127.0.0.1')
def forward_remote(port, host, remote_port, remote_host = "127.0.0.1")
@session.forward.remote(port, host, remote_port, remote_host)
end

Expand Down

0 comments on commit 9fe2b0e

Please sign in to comment.