Skip to content

Local code intelligence for developers and AI agents. Connect code, docs and infrastructure in a persistent graph, with CBM Lens, MCP tools, agent integrations and change-aware test selection.

Fix missing trailing newlines in Kotlin PR files

Martin Vogel27e0707c6d63
diff --git a/README.md b/README.md
index 5646c74a1..c9912b74a 100644
--- a/README.md
+++ b/README.md
@@ -590,4 +590,4 @@ internal/
## License
-MIT
\ No newline at end of file
+MIT
diff --git a/internal/lang/lang.go b/internal/lang/lang.go
index 5294be2d5..3bf8f59b1 100644
--- a/internal/lang/lang.go
+++ b/internal/lang/lang.go
@@ -88,4 +88,4 @@ func LanguageForExtension(ext string) (Language, bool) {
return "", false
}
return spec.Language, true
-}
\ No newline at end of file
+}
diff --git a/internal/lang/lang_test.go b/internal/lang/lang_test.go
index c289635d6..695a67fa2 100644
--- a/internal/lang/lang_test.go
+++ b/internal/lang/lang_test.go
@@ -116,4 +116,4 @@ func TestKotlinSpec(t *testing.T) {
if !classFound["class_declaration"] || !classFound["object_declaration"] || !classFound["companion_object"] {
t.Errorf("Kotlin ClassNodeTypes missing expected types: %v", spec.ClassNodeTypes)
}
-}
\ No newline at end of file
+}
diff --git a/internal/parser/parser.go b/internal/parser/parser.go
index b257edf03..18490f524 100644
--- a/internal/parser/parser.go
+++ b/internal/parser/parser.go
@@ -121,4 +121,4 @@ func Walk(node *tree_sitter.Node, fn WalkFunc) {
// NodeText returns the text content of a node.
func NodeText(node *tree_sitter.Node, source []byte) string {
return string(source[node.StartByte():node.EndByte()])
-}
\ No newline at end of file
+}
diff --git a/internal/parser/parser_test.go b/internal/parser/parser_test.go
index beebab8e9..d35f78ef3 100644
--- a/internal/parser/parser_test.go
+++ b/internal/parser/parser_test.go
@@ -200,4 +200,4 @@ func Hello() string {
}
return true
})
-}
\ No newline at end of file
+}
diff --git a/internal/pipeline/resolve.go b/internal/pipeline/resolve.go
index a29c0d5ce..b57d6c6ce 100644
--- a/internal/pipeline/resolve.go
+++ b/internal/pipeline/resolve.go
@@ -801,4 +801,4 @@ func firstNonTrivialChild(node *tree_sitter.Node) *tree_sitter.Node {
}
}
return nil
-}
\ No newline at end of file
+}
diff --git a/internal/pipeline/resolve_test.go b/internal/pipeline/resolve_test.go
index 4869f756b..2be9301e7 100644
--- a/internal/pipeline/resolve_test.go
+++ b/internal/pipeline/resolve_test.go
@@ -352,4 +352,4 @@ func assertSymbol(t *testing.T, symbols map[string]string, name, want string) {
if got != want {
t.Errorf("symbol %q = %q, want %q", name, got, want)
}
-}
\ No newline at end of file
+}
diff --git a/internal/pipeline/usages.go b/internal/pipeline/usages.go
index 61a4a81f2..49c6f9c07 100644
--- a/internal/pipeline/usages.go
+++ b/internal/pipeline/usages.go
@@ -274,4 +274,4 @@ func isKeywordOrBuiltin(name string, language lang.Language) bool {
}
return false
-}
\ No newline at end of file
+}
diff --git a/internal/pipeline/usages_test.go b/internal/pipeline/usages_test.go
index 506d32046..d643418f7 100644
--- a/internal/pipeline/usages_test.go
+++ b/internal/pipeline/usages_test.go
@@ -261,4 +261,4 @@ fun main() {
t.Error("should NOT have USAGE edge from main to helper — it's a call, not a reference")
}
}
-}
\ No newline at end of file
+}