Browse Source

Fix semantic.json inheritance

pull/1785/head
jlukic 9 years ago
parent
commit
5040387b9c
1 changed files with 2 additions and 1 deletions
  1. 3
      tasks/config/user.js

3
tasks/config/user.js

@ -34,11 +34,12 @@ catch(error) {
if(!userConfig) { if(!userConfig) {
// No semantic.json file use tasks/config/defaults.js // No semantic.json file use tasks/config/defaults.js
console.error('Using default values for gulp');
userConfig = defaults; userConfig = defaults;
} }
else { else {
// extend defaults using shallow copy // extend defaults using shallow copy
userConfig = extend(false, {}, defaults, config);
userConfig = extend(false, {}, defaults, userConfig);
} }

Loading…
Cancel
Save