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);
|
||||
}, true);
|
||||
}
|
||||
], async function (err, cmd, args) {
|
||||
], function (err, cmd, args) {
|
||||
if (err) {
|
||||
console.error(err.message);
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue