style: remove const assignment
This commit is contained in:
parent
d70a315827
commit
56b47b71ad
1 changed files with 2 additions and 3 deletions
|
|
@ -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}`);
|
||||
});
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue