fastlane/lib/fastlane/plugins/plugin_update_manager.rb in fastlane-2.1.1 vs fastlane/lib/fastlane/plugins/plugin_update_manager.rb in fastlane-2.1.2

- old
+ new

@@ -1,10 +1,10 @@ module Fastlane # Alert the user when updates for plugins are available class PluginUpdateManager def self.start_looking_for_updates - return if ENV["FASTLANE_SKIP_UPDATE_CHECK"] + return if FastlaneCore::Env.truthy?("FASTLANE_SKIP_UPDATE_CHECK") Thread.new do self.plugin_references.each do |plugin_name, current_plugin| begin self.server_results[plugin_name] = fetch_latest_version(plugin_name) @@ -13,10 +13,10 @@ end end end def self.show_update_status - return if ENV["FASTLANE_SKIP_UPDATE_CHECK"] + return if FastlaneCore::Env.truthy?("FASTLANE_SKIP_UPDATE_CHECK") # We set self.server_results to be nil # this way the table is not printed twice # (next to the summary table or when an exception happens) return unless self.server_results.count > 0