Skip to content

Commit faa90d2

Browse files
committed
fix linter issues
1 parent 9f25ebe commit faa90d2

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

cmd/github-mcp-server/generate_docs.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -247,10 +247,9 @@ func generateToolDoc(tool mcp.Tool) string {
247247
requiredStr = "required"
248248
}
249249

250-
// Get the type and description
251-
typeStr := "unknown"
252-
description := ""
250+
var typeStr, description string
253251

252+
// Get the type and description
254253
switch prop.Type {
255254
case "array":
256255
if prop.Items != nil {

0 commit comments

Comments
 (0)