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