mirror of
https://github.com/balena-io/balena-cli.git
synced 2024-12-23 23:42:24 +00:00
Minor fix to device rm
Change-type: patch Signed-off-by: Scott Lowe <scott@balena.io>
This commit is contained in:
parent
9805854eab
commit
b180eb7b73
@ -82,7 +82,7 @@ export default class DeviceRmCmd extends Command {
|
||||
);
|
||||
|
||||
// Remove
|
||||
for (const uuid of params.uuid.split(',')) {
|
||||
for (const uuid of uuids) {
|
||||
try {
|
||||
await balena.models.device.remove(tryAsInteger(uuid));
|
||||
} catch (err) {
|
||||
|
Loading…
Reference in New Issue
Block a user