improved readability of listdevices

This commit is contained in:
Dan Motzenbecker 2015-10-03 21:22:34 -04:00
parent cac8b6b777
commit 48171402d4
1 changed files with 1 additions and 1 deletions

View File

@ -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')