From fb21f689c7a78401ea9d533d99987643222e496e Mon Sep 17 00:00:00 2001 From: ioedeveloper Date: Wed, 4 Nov 2020 15:14:39 +0100 Subject: [PATCH] ensure opts.run is integer --- apps/remix-ide/src/app/compiler/compiler-input.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/remix-ide/src/app/compiler/compiler-input.js b/apps/remix-ide/src/app/compiler/compiler-input.js index bb9ac74d3b..7fb5c59cd1 100644 --- a/apps/remix-ide/src/app/compiler/compiler-input.js +++ b/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: {