summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Edwards <adamed@opscode.com>2014-03-27 22:39:13 -0700
committerAdam Edwards <adamed@opscode.com>2014-03-29 00:21:07 -0700
commit383f006be49bbcb3f4f2874944edd791de4a01bb (patch)
tree7ff28eecd7a951c12d3c633b8d9f19ce435942f2
parentdcefaca154c97ee88f0244222c279d301d7be5a9 (diff)
downloadchef-383f006be49bbcb3f4f2874944edd791de4a01bb.tar.gz
CR feedback: boolean variable should use boolean false instead of ambiguous nil
-rw-r--r--lib/chef/resource/powershell_script.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/resource/powershell_script.rb b/lib/chef/resource/powershell_script.rb
index 87cb225f73..9d4a58358c 100644
--- a/lib/chef/resource/powershell_script.rb
+++ b/lib/chef/resource/powershell_script.rb
@@ -24,7 +24,7 @@ class Chef
def initialize(name, run_context=nil)
super(name, run_context, :powershell_script, "powershell.exe")
set_guard_inherited_attributes([:architecture])
- @convert_boolean_return = nil
+ @convert_boolean_return = false
end
def convert_boolean_return(arg=nil)