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 caa1334 commit aff0465Copy full SHA for aff0465
1 file changed
src/EIDETypeDefine.ts
@@ -1337,11 +1337,12 @@ export class ProjectConfiguration<T extends BuilderConfigData>
1337
//
1338
1339
// compatible missing field for old project
1340
- const defCfg = this.GetDefault(this.config.type);
+ let defCfg = <any>this.GetDefault(this.config.type);
1341
+ let curCfg = <any>this.config;
1342
for (const key in defCfg) {
- if (this.config[key] == undefined &&
1343
+ if (curCfg[key] == undefined &&
1344
this.excludeKeysInFile.includes(key) == false) {
- this.config[key] = defCfg[key];
1345
+ curCfg[key] = defCfg[key];
1346
}
1347
1348
0 commit comments