More use of isProduction/isDevelopment getters

This commit is contained in:
Tom Moor
2023-11-09 09:32:46 -05:00
parent 1ace76eb44
commit 0964d03a17
16 changed files with 22 additions and 28 deletions

View File

@@ -54,7 +54,7 @@ async function master() {
await checkEnv();
await checkPendingMigrations();
if (env.TELEMETRY && env.ENVIRONMENT === "production") {
if (env.TELEMETRY && env.isProduction) {
void checkUpdates();
setInterval(checkUpdates, 24 * 3600 * 1000);
}