Minor fix to device rm

Change-type: patch
Signed-off-by: Scott Lowe <scott@balena.io>
This commit is contained in:
Scott Lowe 2020-09-10 16:06:07 +02:00
parent 9805854eab
commit b180eb7b73

View File

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