lib/scout/workflow/task/inputs.rb in scout-gear-10.2.0 vs lib/scout/workflow/task/inputs.rb in scout-gear-10.3.0
- old
+ new
@@ -1,10 +1,10 @@
require 'scout/named_array'
module Task
def self.format_input(value, type, options = {})
return value if IO === value || StringIO === value || Step === value
- if String === value && ! [:path, :file, :folder, :binary].include?(type) && ! (options && (options[:noload] || options[:stream] || options[:nofile]))
+ if String === value && ! [:path, :file, :folder, :binary, :tsv].include?(type) && ! (options && (options[:noload] || options[:stream] || options[:nofile]))
if Open.exists?(value) && ! Open.directory?(value)
Persist.load(value, type)
else
Persist.deserialize(value, type)
end