fastlane/lib/fastlane/runner.rb in fastlane-2.220.0 vs fastlane/lib/fastlane/runner.rb in fastlane-2.221.0
- old
+ new
@@ -38,16 +38,16 @@
UI.success("Driving the lane '#{full_lane_name}' 🚀")
return_val = nil
path_to_use = FastlaneCore::FastlaneFolder.path || Dir.pwd
- parameters ||= {}
+ parameters ||= {} # by default no parameters
begin
Dir.chdir(path_to_use) do # the file is located in the fastlane folder
execute_flow_block(before_all_blocks, current_platform, current_lane, parameters)
execute_flow_block(before_each_blocks, current_platform, current_lane, parameters)
- return_val = lane_obj.call(parameters) # by default no parameters
+ return_val = lane_obj.call(parameters)
# after blocks are only called if no exception was raised before
# Call the platform specific after block and then the general one
execute_flow_block(after_each_blocks, current_platform, current_lane, parameters)
execute_flow_block(after_all_blocks, current_platform, current_lane, parameters)