summaryrefslogtreecommitdiff
path: root/fs/eol.ts
diff options
context:
space:
mode:
Diffstat (limited to 'fs/eol.ts')
-rw-r--r--fs/eol.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/eol.ts b/fs/eol.ts
index af5e81ead..46babe406 100644
--- a/fs/eol.ts
+++ b/fs/eol.ts
@@ -17,7 +17,7 @@ export function detect(content: string): EOL | null {
if (!d || d.length === 0) {
return null;
}
- const crlf = d.filter(x => x === EOL.CRLF);
+ const crlf = d.filter((x: string) => x === EOL.CRLF);
if (crlf.length > 0) {
return EOL.CRLF;
} else {