balena device deactivate nit

Change-type: patch
This commit is contained in:
myarmolinsky 2024-11-05 07:27:13 -05:00
parent 0acf3eb53f
commit 01a81b3551

View File

@ -47,13 +47,14 @@ export default class DeviceDeactivateCmd extends Command {
public static authenticated = true; public static authenticated = true;
public async run() { public async run() {
const { args: params, flags: options } = const {
await this.parse(DeviceDeactivateCmd); args: { uuid },
flags: options,
} = await this.parse(DeviceDeactivateCmd);
const balena = getBalenaSdk(); const balena = getBalenaSdk();
const patterns = await import('../../utils/patterns'); const patterns = await import('../../utils/patterns');
const uuid = params.uuid;
const deactivationWarning = ` const deactivationWarning = `
Warning! Deactivating a device will charge a fee equivalent to the Warning! Deactivating a device will charge a fee equivalent to the
normal monthly cost for the device (e.g. $1 for an essentials device); normal monthly cost for the device (e.g. $1 for an essentials device);