[PR #14870] Correctness: Remove JsonUtils and IconConverter's 2-phase lookup bugs #30288

Open
opened 2026-01-31 09:39:50 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/microsoft/terminal/pull/14870

State: closed
Merged: Yes


Our templates were declared in the wrong order in JsonUtils, so all we needed to do was reorder them. The tests bear this out.

This allows us to disable two-phase template name lookup. I also fixed a minor issue that resulted in the inclusion of too many copies of expandIconPath.

**Original Pull Request:** https://github.com/microsoft/terminal/pull/14870 **State:** closed **Merged:** Yes --- Our templates were declared in the wrong order in JsonUtils, so all we needed to do was reorder them. The tests bear this out. This allows us to disable two-phase template name lookup. I also fixed a minor issue that resulted in the inclusion of too many copies of expandIconPath.
claunia added the pull-request label 2026-01-31 09:39:50 +00:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#30288