fleet create: Don't print fleet's numeric database ID in confirmation msg

Change-type: major
This commit is contained in:
Paulo Castro 2021-12-19 22:49:35 +00:00
parent 7564d95f82
commit 8b110a835a

View File

@ -125,11 +125,8 @@ export default class FleetCreateCmd extends Command {
}
// Output
const { isV13 } = await import('../../utils/version');
console.log(
isV13()
? `Fleet created: slug "${application.slug}", device type "${deviceType}"`
: `Fleet created: ${application.slug} (${deviceType}, id ${application.id})`,
`Fleet created: slug "${application.slug}", device type "${deviceType}"`,
);
}