Method: Fastlane::Actions::OclintAction.ensure_array_is_not_string!

Defined in:
fastlane/lib/fastlane/actions/oclint.rb

.ensure_array_is_not_string!(array) ⇒ Object

return a proper array of strings if array string is single-quoted

[View source]

106
107
108
109
110
# File 'fastlane/lib/fastlane/actions/oclint.rb', line 106

def self.ensure_array_is_not_string!(array)
  return array unless array.kind_of?(String)

  array.split(',')
end