File tree Expand file tree Collapse file tree 1 file changed +4
-8
lines changed
Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Original file line number Diff line number Diff 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)
482478func cleanToolsets (enabledToolsets []string , dynamicToolsets bool ) ([]string , []string ) {
483479 seen := make (map [string ]bool )
You can’t perform that action at this time.
0 commit comments