feat: add rase instead of user error in android script
This commit is contained in:
parent
d86c49d7ba
commit
3c0d2b40cf
@ -7,8 +7,7 @@ module Fastlane
|
|||||||
def self.run(params)
|
def self.run(params)
|
||||||
# Check parameters
|
# Check parameters
|
||||||
unless Helper::AndroidCdHelper.is_set(params[:beta_type])
|
unless Helper::AndroidCdHelper.is_set(params[:beta_type])
|
||||||
UI.user_error!("❌ Parameters beta_type cannot be null")
|
raise ArgumentError, "❌ Parameters beta_type cannot be null"
|
||||||
puts("Error on beta type parameter")
|
|
||||||
end
|
end
|
||||||
|
|
||||||
UI.message("⌛️ Building and deploying to Google Play Store in #{params[:beta_type]}..")
|
UI.message("⌛️ Building and deploying to Google Play Store in #{params[:beta_type]}..")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user