Compare commits
No commits in common. "7c1eb8772686862e78f4c26eee18518d6912fb6d" and "28fe4921f50b1e91edef4746f679053d934e8a1b" have entirely different histories.
7c1eb87726
...
28fe4921f5
@ -1,13 +1,19 @@
|
||||
require 'fastlane/action'
|
||||
require_relative '../helper/android_cd_helper'
|
||||
|
||||
def is_set variable
|
||||
str_variable = variable
|
||||
str_variable = variable.strip if variable.class.to_s == "String"
|
||||
variable && !(str_variable.nil? || str_variable.empty?)
|
||||
end
|
||||
|
||||
module Fastlane
|
||||
module Actions
|
||||
class AndroidCdAction < Action
|
||||
def self.run(params)
|
||||
|
||||
# Check parameters
|
||||
unless Helper::AndroidCdHelper.is_set(params[:beta_type])
|
||||
unless is_set(params[:beta_type])
|
||||
UI.error("Parameters beta_type cannot be null")
|
||||
puts "Error on beta type parameter"
|
||||
end
|
||||
|
@ -21,12 +21,6 @@ module Fastlane
|
||||
puts "Erreur lors de la décompression du fichier GPG"
|
||||
end
|
||||
end
|
||||
|
||||
def self.is_set variable
|
||||
str_variable = variable
|
||||
str_variable = variable.strip if variable.class.to_s == "String"
|
||||
variable && !(str_variable.nil? || str_variable.empty?)
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user