mirror of
https://github.com/inspec/inspec
synced 2024-11-22 20:53:11 +00:00
When mssql response is parsed, header might be nil. (#3971)
When mssql response is parsed, header might be nil.
This commit is contained in:
commit
00bcf91dac
1 changed files with 1 additions and 1 deletions
|
@ -108,7 +108,7 @@ module Inspec::Resources
|
|||
results = table.map { |row|
|
||||
res = {}
|
||||
headers.each { |header|
|
||||
res[header.downcase] = row[header]
|
||||
res[header.downcase] = row[header] if header
|
||||
}
|
||||
Hashie::Mash.new(res)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue