fastlane/lib/fastlane/lane_manager.rb in fastlane-2.1.1 vs fastlane/lib/fastlane/lane_manager.rb in fastlane-2.1.2
- old
+ new
@@ -59,10 +59,10 @@
UI.error ex.to_s if ex.kind_of?(StandardError) # we don't want to print things like 'system exit'
e = ex
end
# After running the lanes, since skip_docs might be somewhere in-between
- Fastlane::DocsGenerator.run(ff) unless ENV["FASTLANE_SKIP_DOCS"]
+ Fastlane::DocsGenerator.run(ff) unless FastlaneCore::Env.truthy?("FASTLANE_SKIP_DOCS")
duration = ((Time.now - started) / 60.0).round
finish_fastlane(ff, duration, e)