Fix most lgtm warnings

This commit is contained in:
Daniel Imms
2020-04-10 14:08:28 -07:00
parent 4809a2e0df
commit 7609a5456e
6 changed files with 10 additions and 20 deletions
-5
View File
@@ -105,11 +105,6 @@ function moveToRequestedCol(startX: number, startY: number, targetX: number, tar
).length, sequence(direction, applicationCursor));
}
function moveHorizontallyOnly(startX: number, startY: number, targetX: number, targetY: number, bufferService: IBufferService, applicationCursor: boolean): string {
const direction = horizontalDirection(startX, startY, targetX, targetY, bufferService, applicationCursor);
return repeat(Math.abs(startX - targetX), sequence(direction, applicationCursor));
}
/**
* Utility functions
*/