fastlane/lib/fastlane/runner.rb in fastlane-2.98.0 vs fastlane/lib/fastlane/runner.rb in fastlane-2.99.0
- old
+ new
@@ -222,14 +222,10 @@
end
verify_supported_os(method_sym, class_ref)
begin
- # https://github.com/fastlane/fastlane/issues/11913
- # launch_context = FastlaneCore::ActionLaunchContext.context_for_action_name(method_sym.to_s, configuration_language: configuration_language, args: ARGV)
- # FastlaneCore.session.action_launched(launch_context: launch_context)
-
Dir.chdir(custom_dir) do # go up from the fastlane folder, to the project folder
# If another action is calling this action, we shouldn't show it in the summary
# (see https://github.com/fastlane/fastlane/issues/4546)
action_name = from_action ? nil : class_ref.step_text
@@ -252,14 +248,10 @@
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
- return_value = class_ref.run(arguments)
-
- action_completed(method_sym.to_s, status: FastlaneCore::ActionCompletionStatus::SUCCESS)
-
- return return_value
+ return class_ref.run(arguments)
end
end
rescue Interrupt => e
raise e # reraise the interruption to avoid logging this as a crash
rescue FastlaneCore::Interface::FastlaneCommonException => e # these are exceptions that we dont count as crashes