mirror of
https://github.com/SukkaW/Surge.git
synced 2026-01-29 01:51:52 +08:00
Housekeeping + Make ESLint Happy
This commit is contained in:
@@ -63,7 +63,7 @@ export class TextLineStream extends TransformStream<string, string> {
|
||||
},
|
||||
flush(controller) {
|
||||
if (__buf.length > 0) {
|
||||
// eslint-disable-next-line sukka-ts/string/prefer-string-starts-ends-with -- performance
|
||||
// eslint-disable-next-line sukka/string/prefer-string-starts-ends-with -- performance
|
||||
if (allowCR && __buf[__buf.length - 1] === '\r') {
|
||||
controller.enqueue(__buf.slice(0, -1));
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user