core: fix things with stupid esbuild

This commit is contained in:
undefined committed 2024-01-05 20:00:18 +08:00
1 parent 1f2f456a24
commit b07734ad77
3 files changed
+28 -20

No files matched your search

+1 -1
View File
@@ -95,7 +95,7 @@ class TaskModel {
static getFirst = getFirst;
static async consume(query: any, cb: Function, destoryOnError = true) {
static consume(query: any, cb: Function, destoryOnError = true) {
return new Consumer(query, cb, destoryOnError);
}
}