Commit fb21f689 authored by ioedeveloper's avatar ioedeveloper Committed by LianaHus

ensure opts.run is integer

parent 61cc112d
......@@ -7,7 +7,7 @@ module.exports = (sources, opts) => {
settings: {
optimizer: {
enabled: opts.optimize === true || opts.optimize === 1,
runs: opts.runs || 200
runs: parseInt(opts.runs) || 200
},
libraries: opts.libraries,
outputSelection: {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment