We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3342db6 commit 52ed08dCopy full SHA for 52ed08d
src/include/file-config.js
@@ -49,7 +49,8 @@ class fileConfig extends config {
49
let local = Object.assign({extend: true}, yaml.sync(this.local, {}));
50
51
if (local.extend === true) {
52
- local = Object.assign(this.parseGlobal(), local);
+ let global = this.parseGlobal();
53
+ local = Object.assign(global ? global : {}, local);
54
} else if (local.extend) {
55
try {
56
local = Object.assign(yaml.sync(local.extend, {}), local);
0 commit comments