fix: go lints

This commit is contained in:
2026-03-21 09:00:14 +00:00
parent 4007a7d73e
commit cf9330e483
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -204,7 +204,7 @@ func discoverTestScenarios(discoveryRoot, displayRoot string) ([]testScenario, e
return scenarios, nil 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) input, err := loadRecordedInput(scenario.inPath)
if err != nil { if err != nil {
return fmt.Errorf("failed to read recorded input: %v", err) return fmt.Errorf("failed to read recorded input: %v", err)
+1 -1
View File
@@ -44,7 +44,7 @@ func resolveTestDirFromConfig(root string, cfg miroconfig.Config) (string, error
} }
return testDir, nil 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) return "", fmt.Errorf("failed to check test directory %s: %v", testDir, err)
} }