Skip to content

Conversation

@Vetle444
Copy link
Contributor

Problem

SVG files could exist in the library but be missing from IconResources.cs and IconName.cs when no file changes were detected. Additionally, string matching used .Contains() which could cause partial name matches.

Solution

  • Added validation in DesignTokenApplier.csx to detect and automatically add missing entries
  • Improved string matching in WriteToFileHelper.csx to use exact name comparison instead of .Contains()

Impact

Ensures design token resources remain consistent and complete, preventing missing entries in generated files.

@Vetle444 Vetle444 enabled auto-merge (squash) October 17, 2025 13:47
@Vetle444 Vetle444 disabled auto-merge October 17, 2025 13:51
@Vetle444 Vetle444 enabled auto-merge (squash) October 17, 2025 14:08
@Vetle444 Vetle444 disabled auto-merge October 17, 2025 14:32
@Vetle444 Vetle444 closed this Nov 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants