lib/inspec/reporters/json_automate.rb in inspec-2.2.101 vs lib/inspec/reporters/json_automate.rb in inspec-2.2.102
- old
+ new
@@ -11,12 +11,12 @@
def render
output(report_merged.to_json, false)
end
- def report_merged
+ def report
# grab profiles from the json parent class
- @profiles = report[:profiles]
+ @profiles = profiles
{
platform: platform,
profiles: merge_profiles,
statistics: {