Files
hyperframes/packages
Vance Ingalls fc2b905837 fix(cli): distinguish producer-absent from injector failure in font localization
Addresses review on #2264: the localization helper had one broad catch around
both dynamic producer resolution and injector execution, so it couldn't tell a
benign 'producer not in this environment' from a real injector/fetch failure,
and emitted no diagnostic. Split into loadFontInjector() (returns null when the
module is absent — silent fail-open) and localizeWithProducer() (warns ONCE per
distinct message when the injector itself throws, then fails open). Per-family
resolution failures remain the injector's own responsibility (producer's
warnUnresolvedFonts). The localizer seam is injectable; tests now cover success,
producer-unavailable, injector-throw, warn dedup, and call-site integration.
2026-07-11 16:39:50 -07:00
..
2026-07-11 15:59:07 -04:00
2026-07-11 15:59:07 -04:00
2026-07-11 15:59:07 -04:00
2026-07-11 15:59:07 -04:00
2026-07-11 15:59:07 -04:00
2026-07-11 15:59:07 -04:00
2026-07-11 15:59:07 -04:00