mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-09-07 08:26:51 +00:00
Remove logs
This commit is contained in:
parent
f9025426b8
commit
a6e109718e
1 changed files with 0 additions and 8 deletions
|
|
@ -50,14 +50,6 @@ export function findMatchingResourceOrTemplate(
|
|||
export function getMcpServerDisplayName(serverName: string, mcpMarketplaceCatalog: McpMarketplaceCatalog): string {
|
||||
// Find matching item in marketplace catalog
|
||||
const catalogItem = mcpMarketplaceCatalog.items.find((item) => item.mcpId === serverName)
|
||||
// Log if no matching catalog item found
|
||||
if (!catalogItem) {
|
||||
console.warn(`No marketplace catalog item found for MCP server: ${serverName}`)
|
||||
} else {
|
||||
console.log(`Found marketplace catalog item for MCP server: ${serverName}`, catalogItem)
|
||||
}
|
||||
|
||||
console.log(mcpMarketplaceCatalog)
|
||||
|
||||
// Return display name if found, otherwise return original server name
|
||||
return catalogItem?.name || serverName
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue