mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
core: fix warnings
This commit is contained in:
1 parent
ab3cad57b8
commit
7218390c3b
1 file changed
-1
@@ -19,7 +19,6 @@ export async function inc(op: string, ident: string, periodSecs: number, maxOper
|
|||||||
if (e.message.includes('duplicate')) throw new OpcountExceededError(op, periodSecs, maxOperations);
|
if (e.message.includes('duplicate')) throw new OpcountExceededError(op, periodSecs, maxOperations);
|
||||||
throw e;
|
throw e;
|
||||||
}
|
}
|
||||||
return -1;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
bus.once('app/started', () => db.ensureIndexes(
|
bus.once('app/started', () => db.ensureIndexes(
|
||||||
|
|||||||
Reference in new issue
Block a user