From 479165b06418878a1737d323db24de9b0b1f65f2 Mon Sep 17 00:00:00 2001 From: Rafa Mel Date: Fri, 3 May 2019 08:35:29 +0200 Subject: [PATCH] fix(core/options): setBase doesn't strip undefined values to fully preserve passed options --- src/core/options.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/options.ts b/src/core/options.ts index a0c73ee..d3b80f6 100644 --- a/src/core/options.ts +++ b/src/core/options.ts @@ -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 {