outer function doesn't need to be async
This commit is contained in:
parent
e19b3b2f51
commit
917757b04c
|
@ -156,7 +156,7 @@ Blockchain.prototype.run = function() {
|
||||||
next(null, cmd, args);
|
next(null, cmd, args);
|
||||||
}, true);
|
}, true);
|
||||||
}
|
}
|
||||||
], async function (err, cmd, args) {
|
], function (err, cmd, args) {
|
||||||
if (err) {
|
if (err) {
|
||||||
console.error(err.message);
|
console.error(err.message);
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue