修复一处问题
This commit is contained in:
parent
186324bfb8
commit
7cf982baec
@ -28,8 +28,7 @@ class APIMsgHandler extends EventEmitter {
|
||||
}
|
||||
}
|
||||
if (authedClientSet.has(socket)) {
|
||||
super.emit.apply(this, [eventName, socket, args]);
|
||||
return true;
|
||||
return super.emit.apply(this, [eventName, socket, args]);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
// deno-lint-ignore no-explicit-any
|
||||
export function FormatString(str: string, args: any): string {
|
||||
let result: string = str;
|
||||
for(const arg in args) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user