From 599899870bd1bb3997b9adb8c6623ecc6dabe89d Mon Sep 17 00:00:00 2001 From: alexandercerutti Date: Sun, 19 Aug 2018 15:58:14 +0200 Subject: [PATCH] Fixed this.props assignment problem --- index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/index.js b/index.js index 6a4a088..565f8b3 100644 --- a/index.js +++ b/index.js @@ -388,7 +388,8 @@ class Pass { } this.model = path.resolve(options.model) + (!!options.model && !path.extname(options.model) ? ".pass" : ""); - this.props = this._filterOptions(options.overrides); + + Object.assign(this.props, this._filterOptions(options.overrides)); let certPaths = Object.keys(options.certificates) .filter(v => v !== "dir")