Skip to content

Commit

Permalink
fix(telemetry): Fix 'destroy' spelling (#10000)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tobbe authored Feb 13, 2024
1 parent dd8efec commit e5f09e4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/cli/src/commands/destroy/helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/src/commands/destroy/page/page.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/src/commands/destroy/sdl/sdl.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 })
Expand Down

0 comments on commit e5f09e4

Please sign in to comment.