conflict with indents
This commit is contained in:
parent
a1c2d7e77a
commit
3e89729331
|
@ -80,8 +80,8 @@ class CodeRunner {
|
|||
this.ipc.broadcast("runcode:newCommand", {code});
|
||||
}
|
||||
|
||||
if (result instanceof Promise) {
|
||||
return result.then((value) => cb(null, value)).catch(cb);
|
||||
if (result instanceof Promise && !result.on) {
|
||||
return result.then((value) => { cb(null, value); }).catch(cb);
|
||||
}
|
||||
|
||||
cb(null, result);
|
||||
|
|
|
@ -23,7 +23,6 @@ contract("SimpleStorage", function () {
|
|||
});
|
||||
|
||||
it("set storage value", function (done) {
|
||||
// await SimpleStorage.methods.set(150).send();
|
||||
Utils.secureSend(web3, SimpleStorage.methods.set(150), {}, false, async function(err) {
|
||||
if (err) {
|
||||
return done(err);
|
||||
|
|
Loading…
Reference in New Issue