Web Entry 2.0 User field Improvements request
This commit is contained in:
dheeyi william
2017-10-04 16:11:11 -04:00
committed by davidcallizaya
parent 79b907f4a2
commit 49bd973e21
2 changed files with 5 additions and 1 deletions

View File

@@ -480,7 +480,9 @@ gulp.task('__env', function (cb) {
content = 'var __env = __env || {};';
gutil.log(gutil.colors.green('Creating System Constants...'));
if (!fs.existsSync(pathEnviroment)){
fs.mkdirSync(pathEnviroment);
}
fs.writeFile(
pathEnviroment + 'constants.js',
content + '__env.USER_GUEST = ' + JSON.stringify(data.constants.userguest) + ';',