Skip to content

Commit

Permalink
Fix: Testing whether semantic.json is present in the install path, no…
Browse files Browse the repository at this point in the history
…t the source path - otherwise semantic.json was overwritten during npm install (autoInstall:true)
  • Loading branch information
AnsonT committed Aug 12, 2016
1 parent 161f72c commit b6f1bdd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/install.js
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down

0 comments on commit b6f1bdd

Please sign in to comment.