We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d122bb7 + bd279f7 commit c4a104eCopy full SHA for c4a104e
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