3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-03-15 05:41:51 +00:00

Type error fix

This commit is contained in:
Dragory 2020-12-13 22:11:16 +02:00
parent 864b57aac1
commit ba4be8cbf5
No known key found for this signature in database
GPG key ID: 5F387BA66DF8AAC1

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();