summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2016-08-12 11:33:03 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2016-08-16 18:41:25 -0700
commitf715aa191a489bf7c5dfff7a8b1fc20d20c35d6c (patch)
tree36069f17b4f25214f00c1181c16bcd5e627b358c
parent9dbccaea6312dc13562f262dcf5c044d6c5b572d (diff)
downloadchef-f715aa191a489bf7c5dfff7a8b1fc20d20c35d6c.tar.gz
disable Style/OptionalArguments
fixing this would either be hella ugly or would change the API just prevent more of this leaking into the codebase Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
-rw-r--r--lib/chef/dsl/powershell.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/dsl/powershell.rb b/lib/chef/dsl/powershell.rb
index 1a900af6f6..7dc7a9a0f6 100644
--- a/lib/chef/dsl/powershell.rb
+++ b/lib/chef/dsl/powershell.rb
@@ -21,7 +21,7 @@ require "chef/util/powershell/ps_credential"
class Chef
module DSL
module Powershell
- def ps_credential(username = "placeholder", password)
+ def ps_credential(username = "placeholder", password) # rubocop:disable Style/OptionalArguments
Chef::Util::Powershell::PSCredential.new(username, password)
end
end