We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c1fee5 commit 12a5e8eCopy full SHA for 12a5e8e
src/server.ts
@@ -184,7 +184,7 @@ export class Server extends EventEmitter {
184
185
log(connectionId: unknown, str: string): void {
186
if (this.verbose) {
187
- const logPrefix = connectionId ? `${String(connectionId)} | ` : '';
+ const logPrefix = connectionId != null ? `${String(connectionId)} | ` : '';
188
// eslint-disable-next-line no-console
189
console.log(`ProxyServer[${this.port}]: ${logPrefix}${str}`);
190
}
0 commit comments