Skip to content

Commit 4414d4e

Browse files
committed
fix: lint
1 parent 0d00e4d commit 4414d4e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

templates/app/server/config/websockets(ws).js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,9 @@ function onConnect(spark) {
2525
});
2626

2727
// Register the spark with each WebSocket event handler
28-
for(let register of registerFunctions) {
28+
// For some reason this is needed:
29+
// eslint-disable-next-line no-unused-vars
30+
for(const register of registerFunctions) {
2931
register(spark);
3032
}
3133
}

0 commit comments

Comments
 (0)