fastlane/lib/fastlane/actions/git_pull.rb in fastlane_hotfix-2.165.1 vs fastlane/lib/fastlane/actions/git_pull.rb in fastlane_hotfix-2.187.0
- old
+ new
@@ -21,23 +21,17 @@
def self.available_options
[
FastlaneCore::ConfigItem.new(key: :only_tags,
description: "Simply pull the tags, and not bring new commits to the current branch from the remote",
- is_string: false,
+ type: Boolean,
optional: true,
- default_value: false,
- verify_block: proc do |value|
- UI.user_error!("Please pass a valid value for only_tags. Use one of the following: true, false") unless value.kind_of?(TrueClass) || value.kind_of?(FalseClass)
- end),
+ default_value: false),
FastlaneCore::ConfigItem.new(key: :rebase,
description: "Rebase on top of the remote branch instead of merge",
- is_string: false,
+ type: Boolean,
optional: true,
- default_value: false,
- verify_block: proc do |value|
- UI.user_error!("Please pass a valid value for rebase. Use one of the following: true, false") unless value.kind_of?(TrueClass) || value.kind_of?(FalseClass)
- end)
+ default_value: false)
]
end
def self.authors
["KrauseFx", "JaviSoto"]