From a16d76d25db22179fb9d6be1569a6f3bb5ea5549 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jordi=20Guti=C3=A9rrez=20Hermoso?= Date: Wed, 14 Aug 2024 13:06:52 -0400 Subject: [PATCH] (core) config: rename TEST_ENABLE_ACTIVATION to GRIST_FORCE_ENABLE_ENTERPRISE Summary: The name of this env var has bothered me for a little while. Let's rename it more meaningfully. Test Plan: No need to test, cosmetic change only. Reviewers: jarek Reviewed By: jarek Differential Revision: https://phab.getgrist.com/D4320 --- app/server/lib/configCore.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/server/lib/configCore.ts b/app/server/lib/configCore.ts index 99c3770b..6a023e3e 100644 --- a/app/server/lib/configCore.ts +++ b/app/server/lib/configCore.ts @@ -25,7 +25,7 @@ export function loadGristCoreConfig(fileConfig?: FileConfig( - isAffirmative(process.env.TEST_ENABLE_ACTIVATION) ? "enterprise" : "core", + isAffirmative(process.env.GRIST_FORCE_ENABLE_ENTERPRISE) ? "enterprise" : "core", fileConfigValue("edition") ) };