diff --git a/packages/server/src/utils.ts b/packages/server/src/utils.ts index ed28069..358b23a 100644 --- a/packages/server/src/utils.ts +++ b/packages/server/src/utils.ts @@ -38,7 +38,7 @@ export const deviceMemoryStart = new Gauge({ }); export function valueOrZero(value?: number): number { - if(value===undefined){ + if (value === undefined) { return 0; } return Number.isNaN(value) ? 0 : value;