mirror of
https://github.com/inspec/inspec
synced 2024-11-27 07:00:39 +00:00
lint
This commit is contained in:
parent
59a8ca6639
commit
8daf8dfa86
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue