diff --git a/packages/cli/src/commands/destroy/helpers.js b/packages/cli/src/commands/destroy/helpers.js index b92b49602368..792b4f4f632e 100644 --- a/packages/cli/src/commands/destroy/helpers.js +++ b/packages/cli/src/commands/destroy/helpers.js @@ -34,7 +34,7 @@ export const createYargsForComponentDestroy = ({ }, handler: async (options) => { recordTelemetryAttributes({ - command: `destory ${componentName}`, + command: `destroy ${componentName}`, }) options = await preTasksFn({ ...options, isDestroyer: true }) await tasks({ componentName, filesFn, name: options.name }).run() diff --git a/packages/cli/src/commands/destroy/page/page.js b/packages/cli/src/commands/destroy/page/page.js index d4de305c849e..4613e783f048 100644 --- a/packages/cli/src/commands/destroy/page/page.js +++ b/packages/cli/src/commands/destroy/page/page.js @@ -51,7 +51,7 @@ export const tasks = ({ name, path }) => export const handler = async ({ name, path }) => { recordTelemetryAttributes({ - command: 'destory page', + command: 'destroy page', }) const t = tasks({ name, path }) try { diff --git a/packages/cli/src/commands/destroy/sdl/sdl.js b/packages/cli/src/commands/destroy/sdl/sdl.js index e6b2c26d96ad..e52320fb3bd6 100644 --- a/packages/cli/src/commands/destroy/sdl/sdl.js +++ b/packages/cli/src/commands/destroy/sdl/sdl.js @@ -34,7 +34,7 @@ export const tasks = ({ model }) => export const handler = async ({ model }) => { recordTelemetryAttributes({ - command: 'destory sdl', + command: 'destroy sdl', }) try { const { name } = await verifyModelName({ name: model, isDestroyer: true })