Skip to content

Conversation

mitchdenny
Copy link
Member

Fixes #8966

The issue was a bad pattern match when detecting whether the user had specified a valid template. Because this method returns a tuple a tuple was being interpreted as non-null value and dropping through.

Added a test case to cover this situation as well.

@mitchdenny mitchdenny self-assigned this Apr 28, 2025
@mitchdenny mitchdenny added this to the 9.3 milestone Apr 28, 2025
Copy link
Member

@davidfowl davidfowl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use the StringComparer.OrdinalIgnoreCase

@mitchdenny mitchdenny enabled auto-merge (squash) April 28, 2025 10:13
@mitchdenny mitchdenny merged commit b0f5978 into main Apr 28, 2025
174 checks passed
@mitchdenny mitchdenny deleted the mitchdenny/fix-8966 branch April 28, 2025 10:32
@github-actions github-actions bot locked and limited conversation to collaborators May 29, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[WebToolsE2E][Aspire] When using the "aspire new" command and add extra characters/words, it has been accepted.
2 participants