lib/inspec/shell.rb in inspec-3.5.0 vs lib/inspec/shell.rb in inspec-3.6.2
- old
+ new
@@ -102,10 +102,10 @@
def print_target_info
ctx = @runner.backend
puts <<~EOF
You are currently running on:
- #{Inspec::BaseCLI.detect(params: ctx.platform.params, indent: 4, color: 39)}
+ #{Inspec::BaseCLI.format_platform_info(params: ctx.platform.params, indent: 4, color: 39)}
EOF
end
def help(topic = nil)
if topic.nil?