From 56da2a3908c0d54a73288ca13f223a909d997998 Mon Sep 17 00:00:00 2001 From: Alexander Cerutti Date: Wed, 9 Jan 2019 20:41:47 +0100 Subject: [PATCH] Bugfix: when overrides is not passed as option, the pass does not get generated --- src/pass.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/pass.js b/src/pass.js index 56a2fb7..33801d1 100644 --- a/src/pass.js +++ b/src/pass.js @@ -27,6 +27,8 @@ class Pass { _raw: options.certificates || {}, }; + options.overrides = options.overrides || {}; + this.l10n = {}; this._remoteResources = []; this.shouldOverwrite = !(options.hasOwnProperty("shouldOverwrite") && !options.shouldOverwrite);