fastlane/lib/fastlane/actions/say.rb in fastlane_hotfix-2.165.1 vs fastlane/lib/fastlane/actions/say.rb in fastlane_hotfix-2.187.0

- old
+ new

@@ -1,11 +1,11 @@ module Fastlane module Actions class SayAction < Action def self.run(params) text = params[:text] - text = text.join(' ') if text.kind_of?(Array) + text = text.join(' ') text = text.tr("'", '"') if params[:mute] UI.message(text) return text @@ -21,15 +21,14 @@ def self.available_options [ FastlaneCore::ConfigItem.new(key: :text, description: 'Text to be spoken out loud (as string or array of strings)', optional: false, - is_string: false), + type: Array), FastlaneCore::ConfigItem.new(key: :mute, env_name: "SAY_MUTE", description: 'If say should be muted with text printed out', optional: false, - is_string: false, type: Boolean, default_value: false) ] end