From 19dbe5ad411cbc9cbc65092ca7254750425c8b0f Mon Sep 17 00:00:00 2001 From: Rahul Sethi <5822355+RamIdeas@users.noreply.github.com> Date: Fri, 8 Mar 2024 19:35:51 +0000 Subject: [PATCH] chore: remove brackets from event name --- packages/wrangler/src/metrics/send-event.ts | 2 +- packages/wrangler/src/versions/deploy.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/wrangler/src/metrics/send-event.ts b/packages/wrangler/src/metrics/send-event.ts index 3844ee8e8d54..f885efedc7d2 100644 --- a/packages/wrangler/src/metrics/send-event.ts +++ b/packages/wrangler/src/metrics/send-event.ts @@ -66,7 +66,7 @@ export type EventNames = | "view deployments" | "rollback deployments" | "upload worker version" - | "deploy worker version(s)"; + | "deploy worker versions"; /** * Send a metrics event, with no extra properties, to Cloudflare, if usage tracking is enabled. diff --git a/packages/wrangler/src/versions/deploy.ts b/packages/wrangler/src/versions/deploy.ts index 89c3c794e868..85b65f7bf0dc 100644 --- a/packages/wrangler/src/versions/deploy.ts +++ b/packages/wrangler/src/versions/deploy.ts @@ -123,7 +123,7 @@ export async function versionsDeployHandler(args: VersionsDeployArgs) { const config = getConfig(args); await metrics.sendMetricsEvent( - "deploy worker version(s)", + "deploy worker versions", {}, { sendMetrics: config.send_metrics,