about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/env/common.ts7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/env/common.ts b/src/env/common.ts
index e68e9fab8..5b902622b 100644
--- a/src/env/common.ts
+++ b/src/env/common.ts
@@ -43,9 +43,10 @@ export const BUNDLE_IDENTIFIER: string =
  * for each build. This should only be used for StatSig reporting and shouldn't
  * be used to identify a specific bundle.
  */
-export const BUNDLE_DATE: number = !process.env.EXPO_PUBLIC_BUNDLE_DATE
-  ? 0
-  : Number(process.env.EXPO_PUBLIC_BUNDLE_DATE)
+export const BUNDLE_DATE: number =
+  process.env.EXPO_PUBLIC_BUNDLE_DATE === undefined
+    ? 0
+    : Number(process.env.EXPO_PUBLIC_BUNDLE_DATE)
 
 /**
  * The log level for the app.