Skip to content

Commit b8e6f12

Browse files
committed
add Bazel gen files to list of exlcuded sources
1 parent e5aaabb commit b8e6f12

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)