Skip to content
代码片段 群组 项目
提交 d0c3ad98 编辑于 作者: Phil Hughes's avatar Phil Hughes
浏览文件

Merge branch 'fix/enhance-is-jh-judgment-condition' into 'master'

Fix: enhance is_jh judgment condition

See merge request gitlab-org/gitlab!66710
No related branches found
No related tags found
无相关合并请求
......@@ -12,4 +12,5 @@ const ROOT_PATH = path.resolve(__dirname, '../..');
// lib/gitlab.rb: Gitlab.jh?
// Since IS_EE already satisifies the conditions of not being a FOSS_ONLY.
// const isFossOnly = JSON.parse(process.env.FOSS_ONLY || 'false');
module.exports = IS_EE && fs.existsSync(path.join(ROOT_PATH, 'jh'));
const isEEOnly = JSON.parse(process.env.EE_ONLY || 'false');
module.exports = IS_EE && !isEEOnly && fs.existsSync(path.join(ROOT_PATH, 'jh'));
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册