style: remove const assignment

This commit is contained in:
bc 064 2023-08-22 09:14:29 -04:00
parent d70a315827
commit 56b47b71ad
No known key found for this signature in database

View file

@ -102,9 +102,8 @@ const onConnection = (socket) => {
});
socket.on('geometry', (cols, rows) => {
// TODO need to rework how we pass settings to ssh2, this is less than ideal
const s = socket;
s.request.session.ssh.cols = cols;
s.request.session.ssh.rows = rows;
socket.request.session.ssh.cols = cols;
socket.request.session.ssh.rows = rows;
webssh2debug(socket, `SOCKET GEOMETRY: termCols = ${cols}, termRows = ${rows}`);
});
};