From cf9330e4835a68e310f98d6e2a7826af0789b5cd Mon Sep 17 00:00:00 2001 From: ruinivist Date: Sat, 21 Mar 2026 09:00:14 +0000 Subject: [PATCH] fix: go lints --- internal/miro/test.go | 2 +- internal/miro/testdir.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/miro/test.go b/internal/miro/test.go index 8cc6629..8f8a95b 100644 --- a/internal/miro/test.go +++ b/internal/miro/test.go @@ -204,7 +204,7 @@ func discoverTestScenarios(discoveryRoot, displayRoot string) ([]testScenario, e return scenarios, nil } -func replayScenario(scenario testScenario, shellPath string, tio testIO, sandboxConfig map[string]string) error { +func replayScenario(scenario testScenario, shellPath string, _ testIO, sandboxConfig map[string]string) error { input, err := loadRecordedInput(scenario.inPath) if err != nil { return fmt.Errorf("failed to read recorded input: %v", err) diff --git a/internal/miro/testdir.go b/internal/miro/testdir.go index 750330d..5b2cbb9 100644 --- a/internal/miro/testdir.go +++ b/internal/miro/testdir.go @@ -44,7 +44,7 @@ func resolveTestDirFromConfig(root string, cfg miroconfig.Config) (string, error } return testDir, nil } - if err != nil && !errors.Is(err, os.ErrNotExist) { + if !errors.Is(err, os.ErrNotExist) { return "", fmt.Errorf("failed to check test directory %s: %v", testDir, err) }