diff --git a/lib/actions-oclif/device/rm.ts b/lib/actions-oclif/device/rm.ts index 27f59ea1..9b29744a 100644 --- a/lib/actions-oclif/device/rm.ts +++ b/lib/actions-oclif/device/rm.ts @@ -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) {