Skip to content

Commit

Permalink
Remove non-trailing optional parameter to fix Ruby 1.8 and general ma…
Browse files Browse the repository at this point in the history
…intainability issue
  • Loading branch information
adamedx committed Feb 26, 2013
1 parent df096fa commit 15c6334
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/chef/resource/windows_script.rb
Expand Up @@ -25,7 +25,7 @@ class WindowsScript < Chef::Resource::Script

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
Expand Down

0 comments on commit 15c6334

Please sign in to comment.