Skip to content

Commit

Permalink
fix: fixed template changes breaking banner creation
Browse files Browse the repository at this point in the history
  • Loading branch information
darbyjack committed May 1, 2023
1 parent ed7e290 commit 4ddcd3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mixins/generator/generator_param_mixin.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export default {
const namespace = entry[0]

const subObject = this.modifiedParams[namespace]
if (subObject && typeof subObject.valueOf() === 'string') {
if (subObject && Array.isArray(subObject)) {
const out = {}
out[namespace] = subObject
return out
Expand Down

0 comments on commit 4ddcd3f

Please sign in to comment.