mirror of https://github.com/embarklabs/embark.git
silence bluebird warning
This commit is contained in:
parent
235059684a
commit
8d79d5ec82
|
@ -43,8 +43,10 @@ function __getAccounts(cb) {
|
||||||
if (__isNewWeb3_1()) {
|
if (__isNewWeb3_1()) {
|
||||||
web3.eth.getAccounts().then(function(accounts) {
|
web3.eth.getAccounts().then(function(accounts) {
|
||||||
cb(null, accounts);
|
cb(null, accounts);
|
||||||
|
return null;
|
||||||
}).catch(function(err) {
|
}).catch(function(err) {
|
||||||
cb(err);
|
cb(err);
|
||||||
|
return null;
|
||||||
});
|
});
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue