diff --git a/build.js b/build.js index 59f794aa0..c556e3afb 100755 --- a/build.js +++ b/build.js @@ -863,7 +863,7 @@ * @returns {Array} Returns the new converted array. */ function optionToArray(value) { - return value.match(/\w+=(.*)$/)[1].split(/, */); + return _.compact(value.match(/\w+=(.*)$/)[1].split(/, */)); } /**