mirror of
https://github.com/inspec/inspec
synced 2025-02-16 22:18:38 +00:00
Fallback to attributes in test code for reporters
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
This commit is contained in:
parent
947cf32307
commit
83cdcad135
1 changed files with 1 additions and 1 deletions
|
@ -107,7 +107,7 @@ module Inspec::Reporters
|
|||
copyright: p[:copyright],
|
||||
copyright_email: p[:copyright_email],
|
||||
supports: p[:supports],
|
||||
attributes: p[:inputs], # TODO: rename exposed field to inputs, see #3802
|
||||
attributes: (p[:inputs] ? p[:inputs] : p[:attributes]), # TODO: rename exposed field to inputs, see #3802
|
||||
parent_profile: p[:parent_profile],
|
||||
depends: p[:depends],
|
||||
groups: profile_groups(p),
|
||||
|
|
Loading…
Add table
Reference in a new issue