bugfix: use full path when resolving files

This commit is contained in:
Dominik Richter 2015-11-02 15:39:35 +01:00
parent 31d42b0212
commit 93ee171dfa

View file

@ -14,7 +14,7 @@ module Inspec::Targets
{
content: File.read(path),
type: opts[:as] || :test,
ref: target,
ref: path,
}
end