3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-05-20 16:25:03 +00:00

Type error fix

This commit is contained in:
Dragory 2020-12-13 22:11:16 +02:00
parent fbf6fdb18b
commit 6bfcbaad3d

View file

@ -17,7 +17,7 @@ export class Queue {
const promise = new Promise(resolve => {
this.queue.push(async () => {
await fn();
resolve();
resolve(undefined);
});
if (!this.running) this.next();