From 45bf83ff58b8715a4d2bf6519e724db6ac0fc7e4 Mon Sep 17 00:00:00 2001 From: Jeffrey Morgan Date: Thu, 6 Jul 2023 17:46:40 -0400 Subject: [PATCH] default write key to empty --- app/src/telemetry.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/telemetry.ts b/app/src/telemetry.ts index d2eefe5d..b585f2eb 100644 --- a/app/src/telemetry.ts +++ b/app/src/telemetry.ts @@ -4,7 +4,7 @@ import { v4 as uuidv4 } from 'uuid' const Store = require('electron-store') const store = new Store() -export const analytics = new Analytics({ writeKey: process.env.TELEMETRY_WRITE_KEY }) +export const analytics = new Analytics({ writeKey: process.env.TELEMETRY_WRITE_KEY || '' }) export function id(): string { const id = store.get('id')