This commit is contained in:
Dominik Richter 2015-10-27 03:07:38 +01:00
parent 59a8ca6639
commit 8daf8dfa86

View file

@ -29,7 +29,7 @@ module Inspec
opts = { 'caller' => calls[0][3] }
if !calls[0][3].nil? && !calls[0][3].empty? &&
(m = calls[0][3][0].match(/^([^:]*):(\d+):/))
(m = calls[0][3][0].match(/^([^:]*):(\d+):/))
opts['file_path'] = m[0]
opts['line_number'] = m[1]
end