ensure opts.run is integer

pull/543/head
ioedeveloper 4 years ago committed by LianaHus
parent 61cc112d61
commit fb21f689c7
  1. 2
      apps/remix-ide/src/app/compiler/compiler-input.js

@ -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: {

Loading…
Cancel
Save