Added the missing variable reference (#2794)

Signed-off-by: Noel Georgi <noel.georgi@reancloud.com>
This commit is contained in:
Noel Georgi 2018-03-09 02:08:14 +05:30 committed by Jared Quick
parent 4d6e35b0b5
commit 4c54e3fdd9

View file

@ -36,7 +36,7 @@ module Inspec::Resources
@pkgman = Pacman.new(inspec)
elsif ['darwin'].include?(os[:family])
@pkgman = Brew.new(inspec)
elsif inspec.os.windows?
elsif os.windows?
@pkgman = WindowsPkg.new(inspec)
elsif ['aix'].include?(os[:family])
@pkgman = BffPkg.new(inspec)