Skip to content

Commit

Permalink
fix(compiler): config.extras is always defined
Browse files Browse the repository at this point in the history
  • Loading branch information
manucorporat committed Dec 18, 2019
1 parent 48cf69d commit d5591d3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/compiler/config/validate-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ export function validateConfig(config: d.Config): { config: d.Config, diagnostic
}

config.flags = config.flags || {};
config.extras = config.extras || {};

setBooleanConfig(config, 'writeLog', 'log', false);
setBooleanConfig(config, 'buildAppCore', null, true);
Expand Down

0 comments on commit d5591d3

Please sign in to comment.