fastlane/lib/fastlane/environment_printer.rb in fastlane-2.14.2 vs fastlane/lib/fastlane/environment_printer.rb in fastlane-2.15.0.beta.20170213032052
- old
+ new
@@ -32,13 +32,13 @@
status = (env_output.include?("🚫") ? "🚫" : "✅")
env_header = "<details><summary>#{status} fastlane environment #{status}</summary>\n\n"
env_tail = "</details>"
final_output = ""
- if $captured_output
+ if FastlaneCore::Globals.captured_output?
final_output << "### Captured Output\n\n"
final_output << "Command Used: `#{ARGV.join(' ')}`\n"
- final_output << "<details><summary>Output/Log</summary>\n\n```\n\n#{$captured_output}\n\n```\n\n</details>\n\n"
+ final_output << "<details><summary>Output/Log</summary>\n\n```\n\n#{FastlaneCore::Globals.captured_output}\n\n```\n\n</details>\n\n"
end
final_output << env_header + env_output + env_tail
end