inspec/lib/vulcano/backend
Dominik Richter d2ade9f247 bugfix: nil content on specinfra empty files
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>
2015-09-22 02:17:30 +02:00
..
docker.rb finish linting backend 2015-09-22 02:15:42 +02:00
local.rb bugfix: return nil on file content read errors 2015-09-22 02:17:30 +02:00
mock.rb finish linting backend 2015-09-22 02:15:42 +02:00
specinfra.rb bugfix: nil content on specinfra empty files 2015-09-22 02:17:30 +02:00
ssh.rb lint backends 2015-09-22 02:15:42 +02:00