Skip to content

Commit 3856e14

Browse files
committed
Remove unnecessary cast
1 parent 53f844c commit 3856e14

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/src/lib/git/worktree-include.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ export async function getIgnoredFilesMatchingPatterns(
5959
// Files are NUL-separated; filter out empty entries from the split
6060
const ignoredFiles = result.stdout.split('\0').filter(f => f.length > 0)
6161

62-
const ig = ignore().add(patterns as string[])
62+
const ig = ignore().add(patterns)
6363
return ignoredFiles.filter(f => ig.ignores(f))
6464
}
6565

0 commit comments

Comments
 (0)