diff --git a/src/models/addon.js b/src/models/addon.js index a873a02..b2b33f5 100644 --- a/src/models/addon.js +++ b/src/models/addon.js @@ -284,6 +284,9 @@ export function parseAddonOptions (options) { else if (value === 'false' || value === 'disabled') { formattedValue = 'false'; } + else if (typeof key === 'string') { + formattedValue = value; + } else { throw new Error(`Can't parse option value: ${value}. Accepted values are: enabled, disabled, true, false`); }