fastlane/lib/fastlane/runner.rb in fastlane-2.8.0 vs fastlane/lib/fastlane/runner.rb in fastlane-2.9.0
- old
+ new
@@ -226,9 +226,16 @@
# Just passing the arguments to this method
else
UI.user_error!("You have to call the integration like `#{method_sym}(key: \"value\")`. Run `fastlane action #{method_sym}` for all available keys. Please check out the current documentation on GitHub.")
end
+ if Fastlane::Actions.is_deprecated?(class_ref)
+ puts "==========================================".deprecated
+ puts "This action (#{method_sym}) is deprecated".deprecated
+ puts class_ref.deprecated_notes.to_s.deprecated if class_ref.deprecated_notes
+ puts "==========================================\n".deprecated
+ end
+
class_ref.runner = self # needed to call another action form an action
class_ref.run(arguments)
end
end
rescue FastlaneCore::Interface::FastlaneError => e # user_error!