fastlane/lib/fastlane/environment_printer.rb in fastlane-2.74.1 vs fastlane/lib/fastlane/environment_printer.rb in fastlane-2.75.0.beta.20180109010003

- old
+ new

@@ -6,11 +6,11 @@ # Remove sensitive option values FastlaneCore::Configuration.sensitive_strings.compact.each do |sensitive_element| env_info.gsub!(sensitive_element, "#########") end - puts env_info + puts(env_info) UI.important("Take notice that this output may contain sensitive information, or simply information that you don't want to make public.") if FastlaneCore::Helper.mac? && UI.interactive? && UI.confirm("🙄 Wow, that's a lot of markdown text... should fastlane put it into your clipboard, so you can easily paste it on GitHub?") copy_to_clipboard(env_info) UI.success("Successfully copied markdown into your clipboard 🎨") end @@ -74,11 +74,11 @@ update_status = "💥 Check failed" end table << "| #{plugin} | #{installed_version} | #{update_status} |\n" end - rendered_table = MarkdownTableFormatter.new table + rendered_table = MarkdownTableFormatter.new(table) env_output << rendered_table.to_md end env_output << "\n\n" env_output @@ -117,11 +117,11 @@ update_status = "💥 Check failed" end table << "| #{current_gem.name} | #{current_gem.version} | #{update_status} |\n" end - rendered_table = MarkdownTableFormatter.new table + rendered_table = MarkdownTableFormatter.new(table) env_output << rendered_table.to_md env_output << "\n\n" return env_output @@ -136,11 +136,11 @@ gems_to_check.each do |current_gem| unless Fastlane::TOOLS.include?(current_gem.name.to_sym) table << "| #{current_gem.name} | #{current_gem.version} |\n" end end - rendered_table = MarkdownTableFormatter.new table + rendered_table = MarkdownTableFormatter.new(table) env_output << rendered_table.to_md env_output << "</details>\n\n" return env_output end @@ -167,10 +167,10 @@ else table = "| Variable | Value | |\n" table << "|-----|---------|----|\n" table << env_table end - rendered_table = MarkdownTableFormatter.new table + rendered_table = MarkdownTableFormatter.new(table) env_output << rendered_table.to_md env_output << "\n\n" end def self.print_system_environment