From 9463e7177e91df73aeb8846633afb30ed2e4e5fb Mon Sep 17 00:00:00 2001 From: Manish Rathi Date: Fri, 18 Jun 2021 22:18:25 +0200 Subject: [PATCH] [action][install_on_device] remove all instances of `is_string` in options and use `type` --- fastlane/lib/fastlane/actions/install_on_device.rb | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/fastlane/lib/fastlane/actions/install_on_device.rb b/fastlane/lib/fastlane/actions/install_on_device.rb index 63db0239a08..bc663cdc9ff 100644 --- a/fastlane/lib/fastlane/actions/install_on_device.rb +++ b/fastlane/lib/fastlane/actions/install_on_device.rb @@ -35,26 +35,23 @@ def self.available_options short_option: "-X", env_name: "FL_IOD_EXTRA", description: "Extra Commandline arguments passed to ios-deploy", - optional: true, - is_string: true), + optional: true), FastlaneCore::ConfigItem.new(key: :device_id, short_option: "-d", env_name: "FL_IOD_DEVICE_ID", description: "id of the device / if not set defaults to first found device", - optional: true, - is_string: true), + optional: true), FastlaneCore::ConfigItem.new(key: :skip_wifi, short_option: "-w", env_name: "FL_IOD_WIFI", description: "Do not search for devices via WiFi", optional: true, - is_string: false), + type: Boolean), FastlaneCore::ConfigItem.new(key: :ipa, short_option: "-i", env_name: "FL_IOD_IPA", description: "The IPA file to put on the device", optional: true, - is_string: true, default_value: Actions.lane_context[SharedValues::IPA_OUTPUT_PATH] || Dir["*.ipa"].first, default_value_dynamic: true, verify_block: proc do |value|