Skip to content

Commit caf9b47

Browse files
Replace is_string: false booleans with type: Boolean
1 parent e5550b6 commit caf9b47

23 files changed

+35
-35
lines changed

lib/fastlane/plugin/wpmreleasetoolkit/actions/android/android_betabuild_prechecks.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ def self.available_options
7979
FastlaneCore::ConfigItem.new(key: :skip_confirm,
8080
env_name: 'FL_ANDROID_BETABUILD_PRECHECKS_SKIPCONFIRM',
8181
description: 'Skips confirmation',
82-
is_string: false, # true: verifies the input is a string, false: every kind of value
82+
type: Boolean,
8383
default_value: false), # the default value if the user didn't provide one
8484
FastlaneCore::ConfigItem.new(key: :default_branch,
8585
env_name: 'FL_RELEASE_TOOLKIT_DEFAULT_BRANCH',

lib/fastlane/plugin/wpmreleasetoolkit/actions/android/android_build_prechecks.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,22 +46,22 @@ def self.available_options
4646
FastlaneCore::ConfigItem.new(key: :skip_confirm,
4747
env_name: 'FL_ANDROID_BUILD_PRECHECKS_SKIP_CONFIRM',
4848
description: 'True to avoid the system ask for confirmation',
49-
is_string: false,
49+
type: Boolean,
5050
default_value: false),
5151
FastlaneCore::ConfigItem.new(key: :alpha,
5252
env_name: 'FL_ANDROID_BUILD_PRECHECKS_ALPHA_BUILD',
5353
description: 'True if this is for an alpha build',
54-
is_string: false,
54+
type: Boolean,
5555
default_value: false),
5656
FastlaneCore::ConfigItem.new(key: :beta,
5757
env_name: 'FL_ANDROID_BUILD_PRECHECKS_BETA_BUILD',
5858
description: 'True if this is for a beta build',
59-
is_string: false,
59+
type: Boolean,
6060
default_value: false),
6161
FastlaneCore::ConfigItem.new(key: :final,
6262
env_name: 'FL_ANDROID_BUILD_PRECHECKS_FINAL_BUILD',
6363
description: 'True if this is for a final build',
64-
is_string: false,
64+
type: Boolean,
6565
default_value: false),
6666
]
6767
end

lib/fastlane/plugin/wpmreleasetoolkit/actions/android/android_codefreeze_prechecks.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def self.available_options
5757
FastlaneCore::ConfigItem.new(key: :skip_confirm,
5858
env_name: 'FL_ANDROID_CODEFREEZE_PRECHECKS_SKIPCONFIRM',
5959
description: 'Skips confirmation before codefreeze',
60-
is_string: false, # true: verifies the input is a string, false: every kind of value
60+
type: Boolean,
6161
default_value: false), # the default value if the user didn't provide one
6262
FastlaneCore::ConfigItem.new(key: :default_branch,
6363
env_name: 'FL_RELEASE_TOOLKIT_DEFAULT_BRANCH',

lib/fastlane/plugin/wpmreleasetoolkit/actions/android/android_completecodefreeze_prechecks.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def self.available_options
4040
FastlaneCore::ConfigItem.new(key: :skip_confirm,
4141
env_name: 'FL_ANDROID_COMPLETECODEFREEZE_PRECHECKS_SKIPCONFIRM',
4242
description: 'Skips confirmation',
43-
is_string: false, # true: verifies the input is a string, false: every kind of value
43+
type: Boolean,
4444
default_value: false), # the default value if the user didn't provide one
4545
]
4646
end

lib/fastlane/plugin/wpmreleasetoolkit/actions/android/android_download_translations_action.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ def self.available_options
9191
key: :skip_commit,
9292
env_name: 'FL_DOWNLOAD_TRANSLATIONS_SKIP_COMMIT',
9393
description: 'If set to true, will skip the commit/push step. Otherwise, it will commit the changes and push them (the default)',
94-
is_string: false, # Boolean
94+
type: Boolean,
9595
default_value: false
9696
),
9797
]

lib/fastlane/plugin/wpmreleasetoolkit/actions/android/android_finalize_prechecks.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def self.available_options
4747
FastlaneCore::ConfigItem.new(key: :skip_confirm,
4848
env_name: 'FL_ANDROID_FINALIZE_PRECHECKS_SKIPCONFIRM',
4949
description: 'Skips confirmation',
50-
is_string: false, # true: verifies the input is a string, false: every kind of value
50+
type: Boolean,
5151
default_value: false), # the default value if the user didn't provide one
5252
]
5353
end

lib/fastlane/plugin/wpmreleasetoolkit/actions/android/android_hotfix_prechecks.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def self.available_options
5555
FastlaneCore::ConfigItem.new(key: :skip_confirm,
5656
env_name: 'FL_ANDROID_HOTFIX_PRECHECKS_SKIPCONFIRM',
5757
description: 'Skips confirmation',
58-
is_string: false, # Boolean
58+
type: Boolean,
5959
default_value: false),
6060
]
6161
end

lib/fastlane/plugin/wpmreleasetoolkit/actions/android/android_tag_build.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def self.available_options
2828
FastlaneCore::ConfigItem.new(key: :tag_alpha,
2929
env_name: 'FL_ANDROID_TAG_BUILD_ALPHA',
3030
description: 'True to skip tagging the alpha version',
31-
is_string: false,
31+
type: Boolean,
3232
default_value: true),
3333
]
3434
end

lib/fastlane/plugin/wpmreleasetoolkit/actions/common/check_for_toolkit_updates_action.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ def self.available_options
8686
FastlaneCore::ConfigItem.new(key: :skip_update_suggestion,
8787
env_name: 'CHECK_FOR_TOOLKIT_UPDATES_SKIP_UPDATE_SUGGESTION',
8888
description: 'If true, will still check for new versions, but will not ask if you want to run bundle update if an update is found',
89-
is_string: false, # Boolean
89+
type: Boolean,
9090
default_value: false),
9191
]
9292
end

lib/fastlane/plugin/wpmreleasetoolkit/actions/common/check_translation_progress.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,13 +125,13 @@ def self.available_options
125125
description: 'Should we abort with a global error if any violations are found?',
126126
optional: true,
127127
default_value: true,
128-
is_string: false),
128+
type: Boolean),
129129
FastlaneCore::ConfigItem.new(key: :skip_confirm,
130130
env_name: 'FL_CHECK_TRANSLATION_SKIP_CONFIRM',
131131
description: 'Move ahead without requesting confirmation if violations are found. Only works if "abort_on_violations" is disabled',
132132
optional: true,
133133
default_value: false,
134-
is_string: false),
134+
type: Boolean),
135135
]
136136
end
137137

0 commit comments

Comments
 (0)