aboutsummaryrefslogtreecommitdiffstats
path: root/src/helpers
diff options
context:
space:
mode:
Diffstat (limited to 'src/helpers')
-rw-r--r--src/helpers/userAgent-helpers.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/helpers/userAgent-helpers.ts b/src/helpers/userAgent-helpers.ts
index c811b34c9..a89207326 100644
--- a/src/helpers/userAgent-helpers.ts
+++ b/src/helpers/userAgent-helpers.ts
@@ -11,7 +11,7 @@ import {
11} from '../environment'; 11} from '../environment';
12 12
13function macOS() { 13function macOS() {
14 const version = macosVersion() || ''; 14 const version = macosVersion() ?? '';
15 let cpuName = cpus()[0].model.split(' ')[0]; 15 let cpuName = cpus()[0].model.split(' ')[0];
16 if (cpuName && /\(/.test(cpuName)) { 16 if (cpuName && /\(/.test(cpuName)) {
17 cpuName = cpuName.split('(')[0]; 17 cpuName = cpuName.split('(')[0];