fix missing string crash

This commit is contained in:
Jeffrey Morgan
2023-07-06 18:02:37 -04:00
parent da74384a3e
commit f93ffb9695
2 changed files with 14 additions and 17 deletions

View File

@@ -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 || '<empty>' })
export function id(): string {
const id = store.get('id')