merge appdb.js into apps.js
This commit is contained in:
+1
-1
@@ -106,7 +106,7 @@ async.series([
|
||||
try {
|
||||
if (util.types.isAsyncFunction(TASKS[task.type])) { // can also use fn[Symbol.toStringTag]
|
||||
const [error, result] = await safe(TASKS[task.type].apply(null, task.args.concat(progressCallback)));
|
||||
resultCallback(error, result);
|
||||
await resultCallback(error, result);
|
||||
} else {
|
||||
TASKS[task.type].apply(null, task.args.concat(progressCallback).concat(resultCallback));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user