From b6f1bddea2195693872399dbfded1a26647d19e4 Mon Sep 17 00:00:00 2001 From: Anson Tsao Date: Fri, 12 Aug 2016 13:06:12 -0700 Subject: [PATCH] Fix: Testing whether semantic.json is present in the install path, not the source path - otherwise semantic.json was overwritten during npm install (autoInstall:true) --- tasks/install.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/install.js b/tasks/install.js index 0243f52e3..66514fcd6 100644 --- a/tasks/install.js +++ b/tasks/install.js @@ -387,7 +387,7 @@ gulp.task('create install files', function(callback) { ; // adjust variables in theme.less - if( fs.existsSync(files.config) ) { + if( fs.existsSync(installPaths.config) ) { console.info('Extending config file (semantic.json)', installPaths.config); return gulp.src(installPaths.config) .pipe(plumber())