Skip to content

Commit

Permalink
fix(client): remove unused variables
Browse files Browse the repository at this point in the history
  • Loading branch information
st-vi committed Dec 5, 2023
1 parent 4cbb37e commit 422f425
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion WebSocketClient/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ export const startPythonClient = async () => {
if(numberOfLines && numberOfLines > MAX_LINES){
let lines = editor.getModel()?.getLinesContent();
lines?.splice(MAX_LINES);
const newContent = lines?.reduce((p, c, i, a) => {return p + "\n" + c});
const newContent = lines?.reduce((p, c) => {return p + "\n" + c});
if(newContent !== undefined){
const position = editor.getPosition();
editor.getModel()?.setValue(newContent);
Expand Down

0 comments on commit 422f425

Please sign in to comment.