lib/libis/format/tool/file_tool.rb in libis-format-0.9.45 vs lib/libis/format/tool/file_tool.rb in libis-format-0.9.46
- old
+ new
@@ -65,10 +65,10 @@
# Parse output text into array and return result
file_tool[:out].map do |line|
r = line.split(/:\s+/)
- {filepath: r[0], mimetype: r[1], matchtype: 'magic', source: :file}
+ {filepath: r[0], mimetype: r[1], matchtype: 'magic', tool: :file}
end
end
end