We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d122bb7 commit bd279f7Copy full SHA for bd279f7
lib/rvideo/inspector.rb
@@ -50,7 +50,7 @@ def initialize(options = {})
50
raise ArgumentError, "Must supply either an input file or a pregenerated response" if options[:raw_response].nil? and file.nil?
51
end
52
53
- metadata = /(Input \#.*)\nMust/m.match(@raw_response)
+ metadata = /(Input \#.*)\n.+\n\Z/m.match(@raw_response)
54
55
if /Unknown format/i.match(@raw_response) || metadata.nil?
56
@unknown_format = true
0 commit comments