From 36a3f4d47b5fa1e31e72fd6a748799c9a800b1cb Mon Sep 17 00:00:00 2001 From: Luigi Pinca Date: Wed, 9 Jun 2021 07:04:59 +0200 Subject: [PATCH] [lint] Add space before function parentheses --- lib/websocket-server.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/websocket-server.js b/lib/websocket-server.js index 707bd0849..36820e114 100644 --- a/lib/websocket-server.js +++ b/lib/websocket-server.js @@ -364,6 +364,6 @@ function abortHandshake (socket, code, message, headers) { * characters from both its beginning and end * @private */ -function trim(str) { +function trim (str) { return str.trim(); }