style fixes

pull/5370/head
LianaHus 4 years ago
parent dfc7745085
commit 02db948f55
  1. 2
      libs/remix-solidity/src/compiler/compiler.ts

@ -52,7 +52,7 @@ export class Compiler {
* @param value value of key in CompilerState
*/
set <K extends keyof CompilerState>(key: K, value: CompilerState[K]): void {
set <K extends keyof CompilerState>(key: K, value: CompilerState[K]): void {
this.state[key] = value
if (key === 'runs') this.state['runs'] = parseInt(value)
}

Loading…
Cancel
Save