mirror of
https://github.com/balena-io/balena-cli.git
synced 2024-12-19 13:47:52 +00:00
resin sync/ssh: always display selection dialog, even for a single online device
Closes #373
This commit is contained in:
parent
7bd8a683b2
commit
e0a2217b94
@ -161,9 +161,6 @@ exports.inferOrSelectDevice = (applicationName) ->
|
||||
if _.isEmpty(devices)
|
||||
throw new Error('You don\'t have any devices')
|
||||
|
||||
if devices.length is 1
|
||||
return _.first(devices).uuid
|
||||
|
||||
return form.ask
|
||||
message: 'Select a device'
|
||||
type: 'list'
|
||||
|
Loading…
Reference in New Issue
Block a user