Fix CI: enable beads custom types during install

This commit is contained in:
joshuavial
2026-01-08 12:37:45 +13:00
committed by beads/crew/dave
parent 5141facb21
commit f30178265c

View File

@@ -138,10 +138,14 @@ func cleanBeadsRuntimeFiles(beadsDir string) {
"mq", "mq",
} }
var firstErr error
for _, pattern := range runtimePatterns { for _, pattern := range runtimePatterns {
matches, err := filepath.Glob(filepath.Join(beadsDir, pattern)) matches, err := filepath.Glob(filepath.Join(beadsDir, pattern))
if err != nil { if err != nil {
continue // Invalid pattern, skip if firstErr == nil {
firstErr = err
}
continue
} }
for _, match := range matches { for _, match := range matches {
_ = os.RemoveAll(match) // Best effort, ignore errors _ = os.RemoveAll(match) // Best effort, ignore errors