mirror of
https://github.com/inspec/inspec
synced 2024-11-23 05:03:07 +00:00
small typo in the resource with exist? function. (#1937)
Signed-off-by: Aaron Lippold <lippold@gmail.com>
This commit is contained in:
parent
e6256a6c24
commit
e9371b2624
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@ module Inspec::Resources
|
|||
]
|
||||
|
||||
dir_list.each do |dir|
|
||||
data_dir_loc if inspec.directory(dir).exists?
|
||||
data_dir_loc = dir if inspec.directory(dir).exist?
|
||||
break
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue