fastlane/lib/fastlane/actions/setup_ci.rb in fastlane-2.144.0 vs fastlane/lib/fastlane/actions/setup_ci.rb in fastlane-2.145.0
- old
+ new
@@ -91,10 +91,10 @@
default_value: false),
FastlaneCore::ConfigItem.new(key: :provider,
env_name: "FL_SETUP_CI_PROVIDER",
description: "CI provider. If none is set, the provider is detected automatically",
is_string: true,
- default_value: false,
+ optional: true,
verify_block: proc do |value|
value = value.to_s
# Validate both 'travis' and 'circleci' for backwards compatibility, even
# though only the latter receives special treatment by this action
UI.user_error!("A given CI provider '#{value}' is not supported. Available CI providers: 'travis', 'circleci'") unless ["travis", "circleci"].include?(value)