summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoradamedx <adamed@opscode.com>2013-02-26 15:07:02 -0800
committeradamedx <adamed@opscode.com>2013-02-26 15:07:02 -0800
commit15c633486569dba77d834e31347d1655fa063320 (patch)
treebe426d77482be5458a53f97e66b47c5c8c90690b
parentdf096fac04cc1bcd4956f9f37999a9e4a367423e (diff)
downloadchef-15c633486569dba77d834e31347d1655fa063320.tar.gz
Remove non-trailing optional parameter to fix Ruby 1.8 and general maintainability issue
-rw-r--r--lib/chef/resource/windows_script.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/resource/windows_script.rb b/lib/chef/resource/windows_script.rb
index e210985e47..5f2311a5bb 100644
--- a/lib/chef/resource/windows_script.rb
+++ b/lib/chef/resource/windows_script.rb
@@ -25,7 +25,7 @@ class Chef
protected
- def initialize(name, run_context=nil, resource_name, interpreter_command)
+ def initialize(name, run_context, resource_name, interpreter_command)
super(name, run_context)
@interpreter = interpreter_command
@resource_name = resource_name