fastlane/lib/fastlane/fast_file.rb in fastlane-2.98.0 vs fastlane/lib/fastlane/fast_file.rb in fastlane-2.99.0
- old
+ new
@@ -326,17 +326,19 @@
# Overwrite this, since there is already a 'test' method defined in the Ruby standard library
self.runner.try_switch_to_lane(:test, [params])
end
def action_launched(action_name)
- # https://github.com/fastlane/fastlane/issues/11913
- # action_launch_context = FastlaneCore::ActionLaunchContext.context_for_action_name(action_name, configuration_language: "ruby", args: ARGV)
- # FastlaneCore.session.action_launched(launch_context: action_launch_context)
+ action_launch_context = FastlaneCore::ActionLaunchContext.context_for_action_name(action_name,
+ configuration_language: "ruby",
+ args: ARGV)
+ FastlaneCore.session.action_launched(launch_context: action_launch_context)
end
def action_completed(action_name, status: nil)
- # https://github.com/fastlane/fastlane/issues/11913
- # completion_context = FastlaneCore::ActionCompletionContext.context_for_action_name(action_name, args: ARGV, status: status)
- # FastlaneCore.session.action_completed(completion_context: completion_context)
+ completion_context = FastlaneCore::ActionCompletionContext.context_for_action_name(action_name,
+ args: ARGV,
+ status: status)
+ FastlaneCore.session.action_completed(completion_context: completion_context)
end
end
end