Fixed this.props assignment problem

This commit is contained in:
alexandercerutti
2018-08-19 15:58:14 +02:00
parent 769d75cb88
commit 599899870b

View File

@@ -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")