From 93d2e5fe0a92834629b0145bc1afbe981ce85321 Mon Sep 17 00:00:00 2001 From: mshanemc Date: Wed, 25 Jan 2023 08:38:57 -0600 Subject: [PATCH] fix: typo in CI detection --- src/telemetry.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/telemetry.ts b/src/telemetry.ts index 3dcfad7a..bd920e7c 100644 --- a/src/telemetry.ts +++ b/src/telemetry.ts @@ -190,7 +190,7 @@ export default class Telemetry extends AsyncCreatable { if (keys.find((key) => key.startsWith('HUDSON'))) { return 'hudson'; } - if (keys.find((key) => key.startsWith("CF_SF_") || key.startWith("COPADO_CI"))) { + if (keys.find((key) => key.startsWith('CF_SF_') || key.startsWith('COPADO_CI'))) { return 'copado'; } if (keys.find((key) => key === 'CI' || key === 'CONTINUOUS_INTEGRATION' || key === 'BUILD_ID')) {