Skip to content

Commit c4a104e

Browse files
author
Brandon Arbini
committed
Merge pull request #7 from tomrossi7/master
Fix inspector
2 parents d122bb7 + bd279f7 commit c4a104e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/rvideo/inspector.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def initialize(options = {})
5050
raise ArgumentError, "Must supply either an input file or a pregenerated response" if options[:raw_response].nil? and file.nil?
5151
end
5252

53-
metadata = /(Input \#.*)\nMust/m.match(@raw_response)
53+
metadata = /(Input \#.*)\n.+\n\Z/m.match(@raw_response)
5454

5555
if /Unknown format/i.match(@raw_response) || metadata.nil?
5656
@unknown_format = true

0 commit comments

Comments
 (0)