Skip to content

Commit 78cd09c

Browse files
make linter happy
1 parent e9b6c89 commit 78cd09c

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

cmd/docker-mcp/catalog/show.go

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -116,25 +116,25 @@ func Show(ctx context.Context, name string, format Format, mcpOAuthDcrEnabled bo
116116
return fmt.Errorf("failed to unmarshal catalog data: %w", err)
117117
}
118118
keys := getSortedKeys(registry.Registry)
119-
119+
120120
termWidth := getTerminalWidth()
121121
wrapWidth := termWidth - 10
122122
if wrapWidth < 40 {
123123
wrapWidth = 40
124124
}
125-
125+
126126
serverCount := len(keys)
127127
headerLineWidth := termWidth - 4
128128
if headerLineWidth > 78 {
129129
headerLineWidth = 78
130130
}
131-
131+
132132
fmt.Println()
133133
fmt.Printf(" \033[1mMCP Server Directory\033[0m\n")
134134
fmt.Printf(" %d servers available\n", serverCount)
135135
fmt.Printf(" %s\n", strings.Repeat("─", headerLineWidth))
136136
fmt.Println()
137-
137+
138138
for i, k := range keys {
139139
val, ok := registry.Registry[k]
140140
if !ok {
@@ -143,17 +143,17 @@ func Show(ctx context.Context, name string, format Format, mcpOAuthDcrEnabled bo
143143
fmt.Printf(" \033[1m%s\033[0m\n", k)
144144
wrappedDesc := wrapText(strings.TrimSpace(val.Description), wrapWidth, " ")
145145
fmt.Println(wrappedDesc)
146-
146+
147147
if i < len(keys)-1 {
148148
fmt.Println()
149149
}
150150
}
151-
151+
152152
fmt.Println()
153153
fmt.Printf(" %s\n", strings.Repeat("─", headerLineWidth))
154154
fmt.Printf(" %d servers total\n", serverCount)
155155
fmt.Println()
156-
156+
157157
return nil
158158
}
159159

0 commit comments

Comments
 (0)