Web Entry 2.0 User field Improvements request
This commit is contained in:
dheeyi william
2017-10-04 15:03:16 -04:00
committed by davidcallizaya
parent bdf7faa1f0
commit 0d294b0da7
2 changed files with 17 additions and 4 deletions

View File

@@ -477,13 +477,13 @@ gulp.task('clean', function () {
*/
gulp.task('__env', function (cb) {
var data = require('./config/enviromentvariables.json'),
pathEnviroment = 'vendor/colosa/MichelangeloFE/src/enviromentVariables/',
pathEnviroment = 'vendor/colosa/MichelangeloFE/src/enviroment/',
content = 'var __env = __env || {};';
gutil.log(gutil.colors.green('Creating guest user constants...'));
gutil.log(gutil.colors.green('Creating System Constants...'));
createFile.writeFile(
pathEnviroment + 'enviromentVariables.js',
pathEnviroment + 'constans.js',
content + '__env.USER_GUEST = ' + JSON.stringify(data.constants.userguest) + ';',
cb
);