Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ea562ae

Browse files
committed
Fix lint
1 parent 2e52386 commit ea562ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/github/server.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ func OptionalBoolParamWithDefault(request mcp.CallToolRequest, s string, b bool)
138138
if err != nil {
139139
return false, err
140140
}
141-
if b == false {
141+
if !b {
142142
return b, nil
143143
}
144144
return v, nil

0 commit comments

Comments
 (0)