improved readability of listdevices
This commit is contained in:
parent
cac8b6b777
commit
48171402d4
|
@ -280,7 +280,7 @@ cli.command 'listdevices'
|
|||
.description 'List available simulator devices by index'
|
||||
.action ->
|
||||
console.log (getDeviceList()
|
||||
.map (line, i) -> "#{i}\t#{line}"
|
||||
.map (line, i) -> "#{i}\t#{line.replace /\[.+\]/, ''}"
|
||||
.join '\n')
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue