fastlane/lib/fastlane/runner.rb in fastlane-2.35.1 vs fastlane/lib/fastlane/runner.rb in fastlane-2.36.0.beta.20170525010052
- old
+ new
@@ -317,26 +317,17 @@
def set_after_each(platform, block)
after_each_blocks[platform] = block
end
def set_before_all(platform, block)
- unless before_all_blocks[platform].nil?
- UI.error("You defined multiple `before_all` blocks in your `Fastfile`. The last one being set will be used.")
- end
before_all_blocks[platform] = block
end
def set_after_all(platform, block)
- unless after_all_blocks[platform].nil?
- UI.error("You defined multiple `after_all` blocks in your `Fastfile`. The last one being set will be used.")
- end
after_all_blocks[platform] = block
end
def set_error(platform, block)
- unless error_blocks[platform].nil?
- UI.error("You defined multiple `error` blocks in your `Fastfile`. The last one being set will be used.")
- end
error_blocks[platform] = block
end
def lanes
@lanes ||= {}