small typo in the resource with exist? function. (#1937)

Signed-off-by: Aaron Lippold <lippold@gmail.com>
This commit is contained in:
Aaron Lippold 2017-06-19 08:28:35 -04:00 committed by Dominik Richter
parent e6256a6c24
commit e9371b2624

View file

@ -75,7 +75,7 @@ module Inspec::Resources
] ]
dir_list.each do |dir| dir_list.each do |dir|
data_dir_loc if inspec.directory(dir).exists? data_dir_loc = dir if inspec.directory(dir).exist?
break break
end end