mirror of
https://github.com/inspec/inspec
synced 2024-11-24 05:33:17 +00:00
d2ade9f247
Only return nil for no content on specinfra files if the file actually has any content. ie. when we were not able to read the content then provide the answer of nil. if the file has no content, return an empty string. this leaves the error case where empty files cannot be read, which will not be signaled via content from specinfra. Signed-off-by: Dominik Richter <dominik.richter@gmail.com> |
||
---|---|---|
.. | ||
docker.rb | ||
local.rb | ||
mock.rb | ||
specinfra.rb | ||
ssh.rb |