fastlane/lib/fastlane/runner.rb in fastlane-2.62.1 vs fastlane/lib/fastlane/runner.rb in fastlane-2.63.0.beta.20171018010003

- old
+ new

@@ -196,9 +196,12 @@ UI.message "Cruising over to lane '#{pretty.join(' ')}' 🚖" # Actually switch lane now self.current_lane = new_lane + launch_context = FastlaneCore::ActionLaunchContext.context_for_action_name('lane_switch', args: ARGV) + FastlaneCore.session.action_launched(launch_context: launch_context) + result = block.call(parameters.first || {}) # to always pass a hash self.current_lane = original_lane # after blocks are only called if no exception was raised before # Call the platform specific after block and then the general one