mirror of
https://github.com/inspec/inspec
synced 2025-02-17 06:28:40 +00:00
bugfix: catch fetcher.abs_path(nil)
This commit is contained in:
parent
b75ba7d345
commit
40b3af86f8
1 changed files with 1 additions and 0 deletions
|
@ -49,6 +49,7 @@ module Inspec
|
|||
end
|
||||
|
||||
def abs_path(file)
|
||||
return nil if file.nil?
|
||||
prefix + file
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue