mirror of
https://github.com/balena-io/balena-cli.git
synced 2024-12-25 00:11:04 +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
|
// Remove
|
||||||
for (const uuid of params.uuid.split(',')) {
|
for (const uuid of uuids) {
|
||||||
try {
|
try {
|
||||||
await balena.models.device.remove(tryAsInteger(uuid));
|
await balena.models.device.remove(tryAsInteger(uuid));
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
|
Loading…
Reference in New Issue
Block a user