Skip to content

Commit 385d219

Browse files
committed
ci: gofmt fixes
CI gofmt check caught three files post-merge: extra blank lines and unaligned map literals. No semantic change.
1 parent 857feb1 commit 385d219

3 files changed

Lines changed: 7 additions & 9 deletions

File tree

internal/cli/ctl.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,6 @@ func ctlStreamExec(sock string, req map[string]any) error {
132132
}
133133
}
134134

135-
136135
func ctlPrint(op string, r *protocol.Response) error {
137136
if !r.OK {
138137
return fmt.Errorf("%s", r.Error)

internal/mcp/server.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,4 +204,3 @@ func toolError(msg string) *mcp.CallToolResult {
204204
Content: []mcp.Content{&mcp.TextContent{Text: errPrefix + msg}},
205205
}
206206
}
207-

internal/mcp/server_test.go

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ type fakeDaemon struct {
4040
t *testing.T
4141
ln net.Listener
4242
mu sync.Mutex
43-
got []protocol.Request // every request the daemon received, in order
43+
got []protocol.Request // every request the daemon received, in order
4444
replyF func(req protocol.Request) protocol.Response
4545
}
4646

@@ -147,12 +147,12 @@ func TestToolsList(t *testing.T) {
147147
t.Fatalf("ListTools: %v", err)
148148
}
149149
want := map[string]bool{
150-
"agentenv__head": false,
151-
"agentenv__log": false,
152-
"agentenv__branches": false,
153-
"agentenv__show": false,
154-
"agentenv__diff": false,
155-
"agentenv__checkout": false,
150+
"agentenv__head": false,
151+
"agentenv__log": false,
152+
"agentenv__branches": false,
153+
"agentenv__show": false,
154+
"agentenv__diff": false,
155+
"agentenv__checkout": false,
156156
}
157157
for _, tl := range res.Tools {
158158
if _, ok := want[tl.Name]; ok {

0 commit comments

Comments
 (0)