@@ -387,7 +387,7 @@ func TestCleanMCPConfig_MissingFile(t *testing.T) {
387387
388388func TestCleanMCPConfig_InvalidJSON (t * testing.T ) {
389389 p := filepath .Join (t .TempDir (), "bad.json" )
390- os .WriteFile (p , []byte ("{{bad" ), 0600 )
390+ _ = os .WriteFile (p , []byte ("{{bad" ), 0600 )
391391 if cleanMCPConfig (p ) {
392392 t .Error ("expected false" )
393393 }
@@ -396,7 +396,7 @@ func TestCleanMCPConfig_InvalidJSON(t *testing.T) {
396396func TestCleanMCPConfig_NoServersKey (t * testing.T ) {
397397 p := filepath .Join (t .TempDir (), "c.json" )
398398 data , _ := json .Marshal (map [string ]any {"other" : 1 })
399- os .WriteFile (p , data , 0600 )
399+ _ = os .WriteFile (p , data , 0600 )
400400 if cleanMCPConfig (p ) {
401401 t .Error ("expected false" )
402402 }
@@ -405,7 +405,7 @@ func TestCleanMCPConfig_NoServersKey(t *testing.T) {
405405func TestCleanMCPConfig_ServersNotObject (t * testing.T ) {
406406 p := filepath .Join (t .TempDir (), "c.json" )
407407 data , _ := json .Marshal (map [string ]any {"mcpServers" : "string" })
408- os .WriteFile (p , data , 0600 )
408+ _ = os .WriteFile (p , data , 0600 )
409409 if cleanMCPConfig (p ) {
410410 t .Error ("expected false" )
411411 }
0 commit comments