summaryrefslogtreecommitdiff
path: root/config/helpers
diff options
context:
space:
mode:
authorWinnie Hellmann <winnie@gitlab.com>2019-04-05 12:08:05 +0200
committerWinnie Hellmann <winnie@gitlab.com>2019-04-05 12:08:05 +0200
commit64e9cf00a7d889913ae7327695394cac29643f0b (patch)
tree11040832fcf150fc6722811719237100216133b1 /config/helpers
parent94e6cc52bee1a67e830bc3f18aeb57930d0815a7 (diff)
downloadgitlab-ce-64e9cf00a7d889913ae7327695394cac29643f0b.tar.gz
Rename environment variable EE to IS_GITLAB_EEwinh-ee-environment-variable
Diffstat (limited to 'config/helpers')
-rw-r--r--config/helpers/is_ee_env.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/helpers/is_ee_env.js b/config/helpers/is_ee_env.js
index 1fdbca591c0..3fe9bb891eb 100644
--- a/config/helpers/is_ee_env.js
+++ b/config/helpers/is_ee_env.js
@@ -4,6 +4,6 @@ const path = require('path');
const ROOT_PATH = path.resolve(__dirname, '../..');
module.exports =
- process.env.EE !== undefined
- ? JSON.parse(process.env.EE)
+ process.env.IS_GITLAB_EE !== undefined
+ ? JSON.parse(process.env.IS_GITLAB_EE)
: fs.existsSync(path.join(ROOT_PATH, 'ee'));