comply with eslint
This commit is contained in:
parent
1666be1158
commit
d42a34b342
|
@ -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",
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue