mirror of
https://github.com/inspec/inspec
synced 2024-11-29 16:10:30 +00:00
Linting, sigh
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
This commit is contained in:
parent
524aa15af0
commit
c32f48ca88
1 changed files with 1 additions and 1 deletions
|
@ -202,7 +202,7 @@ class Inspec::InspecCLI < Inspec::BaseCLI
|
|||
|
||||
profile = Inspec::Profile.for_target(path, o)
|
||||
gem_deps = profile.metadata.gem_dependencies + \
|
||||
profile.locked_dependencies.list.map {|_k,v| v.profile.metadata.gem_dependencies}.flatten
|
||||
profile.locked_dependencies.list.map { |_k, v| v.profile.metadata.gem_dependencies }.flatten
|
||||
unless gem_deps.empty?
|
||||
o[:logger].warn "Archiving a profile that contains gem dependencies, but InSpec cannot package gems with the profile! Please archive your ~/.inspec/gems directory separately."
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue