simplify logic for pull request OTAs

This commit is contained in:
Hailey
2025-07-24 23:32:59 -07:00
parent c6b578fe91
commit 424ea74e1c
3 changed files with 25 additions and 61 deletions
+1 -2
View File
@@ -26,8 +26,7 @@ module.exports = function (_config) {
...(IS_DEV || IS_TESTFLIGHT ? [] : []),
]
const UPDATES_ENABLED =
IS_TESTFLIGHT !== undefined || IS_PRODUCTION !== undefined
const UPDATES_ENABLED = IS_TESTFLIGHT || IS_PRODUCTION
const USE_SENTRY = Boolean(process.env.SENTRY_AUTH_TOKEN)