cmd and command were too similar

Signed-off-by: Miah Johnson <miah@chia-pet.org>
This commit is contained in:
Miah Johnson 2019-10-30 19:41:57 -07:00
parent 636f34f7fc
commit c582895434

View file

@ -56,9 +56,10 @@ module Inspec::Resources
end
command = command_builder(format_options, sql)
cmd = inspec.command(command)
inspec_cmd = inspec.command(command)
DatabaseHelper::SQLQueryResult.new(cmd, send(parser, cmd.stdout))
DatabaseHelper::SQLQueryResult.new(inspec_cmd, send(parser,
inspec_cmd.stdout))
end
def to_s