We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b2fd4c commit c965ad7Copy full SHA for c965ad7
scripts/effects/ignores.ts
@@ -7,7 +7,7 @@ import * as Str from "effect/String";
7
8
export const ignores = Fn.pipe(
9
FileSystem.FileSystem,
10
- Effect.flatMap((fs) => fs.readFileString(".gitignore")),
+ Effect.flatMap((fs) => fs.readFileString(".gitignore", "utf8")),
11
Effect.map(Str.split("\n")),
12
Effect.map(Arr.map(Str.trim)),
13
Effect.map(Arr.filter(not(or(Str.startsWith("#"), Str.startsWith("!"))))),
0 commit comments