mirror of
https://github.com/gristlabs/grist-core.git
synced 2024-10-27 20:44:07 +00:00
(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
This commit is contained in:
parent
9509b2edcb
commit
a16d76d25d
@ -25,7 +25,7 @@ export function loadGristCoreConfig(fileConfig?: FileConfig<IGristCoreConfigFile
|
||||
const fileConfigValue = fileConfigAccessorFactory(fileConfig);
|
||||
return {
|
||||
edition: createConfigValue<Edition>(
|
||||
isAffirmative(process.env.TEST_ENABLE_ACTIVATION) ? "enterprise" : "core",
|
||||
isAffirmative(process.env.GRIST_FORCE_ENABLE_ENTERPRISE) ? "enterprise" : "core",
|
||||
fileConfigValue("edition")
|
||||
)
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user