blob: 3fe9bb891eb1cdc3640d39d1abb49605c5fc7bfb (
plain)
1
2
3
4
5
6
7
8
9
|
const fs = require('fs');
const path = require('path');
const ROOT_PATH = path.resolve(__dirname, '../..');
module.exports =
process.env.IS_GITLAB_EE !== undefined
? JSON.parse(process.env.IS_GITLAB_EE)
: fs.existsSync(path.join(ROOT_PATH, 'ee'));
|