Skip to content

Commit 40fbb6c

Browse files
committed
fix merge conflict
1 parent 809a8fc commit 40fbb6c

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

internal/ghmcp/server.go

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -467,17 +467,13 @@ func (t *bearerAuthTransport) RoundTrip(req *http.Request) (*http.Response, erro
467467
return t.transport.RoundTrip(req)
468468
}
469469

470-
// cleanToolsets handles special toolset keywords in the enabled toolsets list:
471-
// - Duplicates are removed from the result.
472-
<<<<<<< HEAD
470+
// cleanToolsets cleans and handles special toolset keywords:
471+
// - Duplicates are removed from the result
473472
// - Removes whitespaces
474473
// - Validates toolset names and returns invalid ones separately
475-
=======
476-
// - Removes whitespace
477-
>>>>>>> d78630632e447a488309d9c75301a1d23f14342e
478-
// - "all": Returns ["all"] immediately, ignoring all other toolsets (unless dynamicToolsets is true)
474+
// - "all": Returns ["all"] immediately, ignoring all other toolsets
475+
// - when dynamicToolsets is true, filters out "all" from the enabled toolsets
479476
// - "default": Replaces with the actual default toolset IDs from GetDefaultToolsetIDs()
480-
// When dynamicToolsets is true, filters out "all" from the enabled toolsets.
481477
// Returns: (validToolsets, invalidToolsets)
482478
func cleanToolsets(enabledToolsets []string, dynamicToolsets bool) ([]string, []string) {
483479
seen := make(map[string]bool)

0 commit comments

Comments
 (0)