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

- old
+ new

@@ -39,10 +39,11 @@ [ FastlaneCore::ConfigItem.new(key: :api_token, env_name: "CHATWORK_API_TOKEN", description: "ChatWork API Token", sensitive: true, + code_gen_sensitive: true, verify_block: proc do |value| unless value.to_s.length > 0 UI.error("Please add 'ENV[\"CHATWORK_API_TOKEN\"] = \"your token\"' to your Fastfile's `before_all` section.") UI.user_error!("No CHATWORK_API_TOKEN given.") end @@ -51,16 +52,16 @@ env_name: "FL_CHATWORK_MESSAGE", description: "The message to post on ChatWork"), FastlaneCore::ConfigItem.new(key: :roomid, env_name: "FL_CHATWORK_ROOMID", description: "The room ID", - is_string: false), + type: Integer), FastlaneCore::ConfigItem.new(key: :success, env_name: "FL_CHATWORK_SUCCESS", description: "Was this build successful? (true/false)", optional: true, default_value: true, - is_string: false) + type: Boolean) ] end def self.author "astronaughts"