Skip to content

Commit f82b9f7

Browse files
authored
fix: removes auto-discovery check for rm (#144)
Signed-off-by: ChrisJBurns <29541485+ChrisJBurns@users.noreply.github.com>
1 parent 3cda8e9 commit f82b9f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/thv/rm.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ func rmCmdFunc(_ *cobra.Command, args []string) error {
118118

119119
func shouldRemoveClientConfig() bool {
120120
c := config.GetConfig()
121-
return len(c.Clients.RegisteredClients) > 0 && c.Clients.AutoDiscovery
121+
return len(c.Clients.RegisteredClients) > 0 || c.Clients.AutoDiscovery
122122
}
123123

124124
// updateClientConfigurations updates client configuration files with the MCP server URL

0 commit comments

Comments
 (0)