Browse Source

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)

pull/4430/head
Anson Tsao 8 years ago
parent
commit
b6f1bddea2
1 changed files with 1 additions and 1 deletions
  1. 2
      tasks/install.js

2
tasks/install.js

@ -387,7 +387,7 @@ gulp.task('create install files', function(callback) {
; ;
// adjust variables in theme.less // adjust variables in theme.less
if( fs.existsSync(files.config) ) {
if( fs.existsSync(installPaths.config) ) {
console.info('Extending config file (semantic.json)', installPaths.config); console.info('Extending config file (semantic.json)', installPaths.config);
return gulp.src(installPaths.config) return gulp.src(installPaths.config)
.pipe(plumber()) .pipe(plumber())

Loading…
Cancel
Save