Closed jgodson closed 10 months ago
Closes https://github.com/jgodson/shopify-script-creator/issues/90
If the list was empty, map will not execute the block. This means that there was actually an array value of nil somewhere in there. This change will filter those out before running downcase and should stop that error from happening.
map
nil
downcase
Closes https://github.com/jgodson/shopify-script-creator/issues/90
If the list was empty,
map
will not execute the block. This means that there was actually an array value ofnil
somewhere in there. This change will filter those out before runningdowncase
and should stop that error from happening.