Skip to content

Commit

Permalink
fix(core/options): setBase doesn't strip undefined values to fully pr…
Browse files Browse the repository at this point in the history
…eserve passed options
  • Loading branch information
rafamel committed May 3, 2019
1 parent 7dea34f commit 479165b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/options.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export default {
return Object.assign({}, options);
},
setBase(opts: TCoreOptions, verify?: 'post' | 'pre'): void {
Object.assign(state.base, stripUndefined(opts));
Object.assign(state.base, opts);
merge(verify);
},
setCli(opts: ICliOptions): void {
Expand Down

0 comments on commit 479165b

Please sign in to comment.