You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
plan 52: reuse archetypes.DefaultRoot + surface List errors
- Drop the duplicate DefaultArchetypeRoot constant in the
required-structure rule and reuse archetypes.DefaultRoot.
Single source of truth for the default root name.
- Add Resolver.ListWithErrors that returns both the successfully
discovered archetypes and the non-ErrNotExist errors from each
readDir. List keeps its old signature for callers that do not
care about errors.
- mdsmith archetypes list now surfaces read errors on stderr and
exits 2 when a root errored with no discoverable archetypes.
- Tests: injected fs.FS that errors on ReadDir for a specific root
to verify both the error-surfacing and not-exist-is-silent
branches.
0 commit comments