lib/docman/commands/execute_script_cmd.rb in docman-0.0.76 vs lib/docman/commands/execute_script_cmd.rb in docman-0.0.77

- old
+ new

@@ -2,10 +2,9 @@ module Docman class ExecuteScriptCmd < Docman::Command register_command :script - def validate_command raise Docman::CommandValidationError.new("Please provide 'execution_dir' param") if self['execution_dir'].nil? raise Docman::CommandValidationError.new("Please provide 'location' param") if self['location'].nil? raise Docman::CommandValidationError.new("Please provide 'context'") if @context.nil? raise Docman::CommandValidationError.new("Context should be of type 'Info'") unless @context.is_a? Docman::Info \ No newline at end of file