comply with eslint

This commit is contained in:
Iuri Matias 2017-12-15 17:30:29 -05:00
parent 1666be1158
commit d42a34b342
2 changed files with 4 additions and 4 deletions

View File

@ -17,7 +17,7 @@
],
"array-callback-return": "off",
"array-element-newline": "off",
"arrow-body-style": "error",
"arrow-body-style": "off",
"arrow-parens": "off",
"arrow-spacing": [
"error",

View File

@ -81,10 +81,10 @@ class Deploy {
let code = codeGenerator.generateContracts(false, true, true);
let cmds = contract.onDeploy.join(';\n');
let _cmds = ""
_cmds += "__mainContext.__loadManagerInstance.execWhenReady(function() {"
let _cmds = "";
_cmds += "__mainContext.__loadManagerInstance.execWhenReady(function() {";
_cmds += cmds;
_cmds += "});"
_cmds += "});";
RunCode.doEval(context + "\n" + code + "\n" + _cmds, self.web3);
}