Skip to content

Commit 95cd0c9

Browse files
authored
Merge pull request #408 from ryanrasti/main
Add Bazel gen files to list of excluded sources
2 parents e5aaabb + b8e6f12 commit 95cd0c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

shared/src/main/kotlin/org/javacs/kt/SourceExclusions.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import java.nio.file.Paths
1010
// TODO: Read exclusions from gitignore/settings.json/... instead of
1111
// hardcoding them
1212
class SourceExclusions(private val workspaceRoots: Collection<Path>) {
13-
private val excludedPatterns = listOf(".*", "bin", "build", "node_modules", "target").map { FileSystems.getDefault().getPathMatcher("glob:$it") }
13+
private val excludedPatterns = listOf(".*", "bazel-*", "bin", "build", "node_modules", "target").map { FileSystems.getDefault().getPathMatcher("glob:$it") }
1414

1515
constructor(workspaceRoot: Path) : this(listOf(workspaceRoot)) {}
1616

0 commit comments

Comments
 (0)