Skip to content

Commit 7c152d3

Browse files
committed
Use plural form for Array-typed action option
As suggested in #409 (comment)
1 parent 97d3233 commit 7c152d3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/fastlane/plugin/wpmreleasetoolkit/actions/android/android_shutdown_emulator_action.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ module Actions
33
class AndroidShutdownEmulatorAction < Action
44
def self.run(params)
55
helper = Fastlane::Helper::Android::EmulatorHelper.new
6-
helper.shut_down_emulators!(serials: params[:serial])
6+
helper.shut_down_emulators!(serials: params[:serials])
77
end
88

99
#####################################################
@@ -20,8 +20,8 @@ def self.details
2020

2121
def self.available_options
2222
[
23-
FastlaneCore::ConfigItem.new(key: :serial,
24-
env_name: 'FL_ANDROID_SHUTDOWN_EMULATOR_SERIAL',
23+
FastlaneCore::ConfigItem.new(key: :serials,
24+
env_name: 'FL_ANDROID_SHUTDOWN_EMULATOR_SERIALS',
2525
description: 'The serial(s) of the emulators to shut down. If not provided (nil), will shut them all down',
2626
type: Array,
2727
optional: true,

0 commit comments

Comments
 (0)