fastlane/lib/fastlane/lane.rb in fastlane-2.149.1 vs fastlane/lib/fastlane/lane.rb in fastlane-2.150.0.rc1
- old
+ new
@@ -39,12 +39,12 @@
end
class << self
# Makes sure the lane name is valid
def verify_lane_name(name)
- if self.black_list.include?(name.to_s)
- UI.error("Lane name '#{name}' is invalid! Invalid names are #{self.black_list.join(', ')}.")
+ if self.deny_list.include?(name.to_s)
+ UI.error("Lane name '#{name}' is invalid! Invalid names are #{self.deny_list.join(', ')}.")
UI.user_error!("Lane name '#{name}' is invalid")
end
if self.gray_list.include?(name.to_sym)
UI.error("------------------------------------------------")
@@ -57,10 +57,10 @@
end
self.ensure_name_not_conflicts(name.to_s)
end
- def black_list
+ def deny_list
%w(
run
init
new_action
lanes