mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
chore: Update lint dependencies
This commit is contained in:
@@ -79,7 +79,7 @@ class WebSocketListener extends WebSocketListenerEmitter {
|
||||
|
||||
private onMessage(message: string): void {
|
||||
// Parse the message
|
||||
const match = /^(\w+)\s+(.+)$/u.exec(message);
|
||||
const match = /^(\w+)\s+(\S.+)$/u.exec(message);
|
||||
if (!match) {
|
||||
this.sendMessage('warning', `Unrecognized message format: ${message}`);
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user