Skip to content

Commit

Permalink
edit suggested by linter
Browse files Browse the repository at this point in the history
  • Loading branch information
kimbob13 committed Dec 6, 2023
1 parent a8ef596 commit 4eef785
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tabby-terminal/src/middleware/streamProcessing.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,10 +134,10 @@ export class TerminalStreamProcessor extends SessionMiddleware {
if (!mode) {
return data
}

Check failure on line 136 in tabby-terminal/src/middleware/streamProcessing.ts

View workflow job for this annotation

GitHub Actions / Lint

Closing curly brace does not appear on the same line as the subsequent block
else if (mode == 'implicit_cr') {
else if (mode === 'implicit_cr') {
return bufferReplace(data, '\n', '\r\n')
}

Check failure on line 139 in tabby-terminal/src/middleware/streamProcessing.ts

View workflow job for this annotation

GitHub Actions / Lint

Closing curly brace does not appear on the same line as the subsequent block
else if (mode == 'implicit_lf') {
else if (mode === 'implicit_lf') {
return bufferReplace(data, '\r', '\r\n')
}

Expand Down

0 comments on commit 4eef785

Please sign in to comment.