Skip to content

Commit

Permalink
Chefstyle fixes
Browse files Browse the repository at this point in the history
Signed-off-by: Lance Albertson <[email protected]>
  • Loading branch information
ramereth committed Dec 21, 2020
1 parent f033f2b commit a636f93
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lib/kitchen/cli.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
# limitations under the License.

# CI tests fail without an explicit unconditional require of Thor
require "thor" # rubocop:disable ChefRuby/UnlessDefinedRequire
require "thor" # rubocop:disable Chef/Ruby/UnlessDefinedRequire

require_relative "../kitchen"
require_relative "generator/init"
Expand Down
1 change: 1 addition & 0 deletions lib/kitchen/transport/winrm.rb
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,7 @@ def login_command_for_linux
unless xfreerdp
raise WinrmFailed, "xfreerdp binary not found. Please install freerdp2-x11 on Debian-based systems or freerdp on Redhat-based systems."
end

args = %W{/u:#{options[:user]}}
args += %W{/p:#{options[:password]}} if options.key?(:password)
args += %W{/v:#{URI.parse(options[:endpoint]).host}:#{rdp_port}}
Expand Down
1 change: 1 addition & 0 deletions spec/kitchen/transport/base_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
module Kitchen
module Transport
class TestingDummy < Kitchen::Transport::Base; end

class Dodgy < Kitchen::Transport::Base
no_parallel_for :setup
end
Expand Down

0 comments on commit a636f93

Please sign in to comment.