comply with eslint
This commit is contained in:
parent
1666be1158
commit
d42a34b342
|
@ -17,7 +17,7 @@
|
||||||
],
|
],
|
||||||
"array-callback-return": "off",
|
"array-callback-return": "off",
|
||||||
"array-element-newline": "off",
|
"array-element-newline": "off",
|
||||||
"arrow-body-style": "error",
|
"arrow-body-style": "off",
|
||||||
"arrow-parens": "off",
|
"arrow-parens": "off",
|
||||||
"arrow-spacing": [
|
"arrow-spacing": [
|
||||||
"error",
|
"error",
|
||||||
|
|
|
@ -81,10 +81,10 @@ class Deploy {
|
||||||
let code = codeGenerator.generateContracts(false, true, true);
|
let code = codeGenerator.generateContracts(false, true, true);
|
||||||
let cmds = contract.onDeploy.join(';\n');
|
let cmds = contract.onDeploy.join(';\n');
|
||||||
|
|
||||||
let _cmds = ""
|
let _cmds = "";
|
||||||
_cmds += "__mainContext.__loadManagerInstance.execWhenReady(function() {"
|
_cmds += "__mainContext.__loadManagerInstance.execWhenReady(function() {";
|
||||||
_cmds += cmds;
|
_cmds += cmds;
|
||||||
_cmds += "});"
|
_cmds += "});";
|
||||||
|
|
||||||
RunCode.doEval(context + "\n" + code + "\n" + _cmds, self.web3);
|
RunCode.doEval(context + "\n" + code + "\n" + _cmds, self.web3);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue