lib/docman/commands/execute_script_cmd.rb in docman-0.0.11 vs lib/docman/commands/execute_script_cmd.rb in docman-0.0.12
- old
+ new
@@ -28,10 +28,10 @@
def prepare_params(params)
result = []
params.each do |param|
case param
when 'environment'
- result << @context.environment
+ result << @context.environment_name
end
end
result.join(' ')
end
\ No newline at end of file