More use of isProduction/isDevelopment getters
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user