Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[tcgc] Ensure that examples are sorted consistently to avoid discrepancies between Windows and Linux. #1986

Open
ArthurMa1978 opened this issue Dec 13, 2024 · 0 comments
Assignees
Labels
bug Something isn't working lib:tcgc Issues for @azure-tools/typespec-client-generator-core library

Comments

@ArthurMa1978
Copy link
Member

Here is a case https://dev.azure.com/azure-sdk/public/_build/results?buildId=4402166&view=logs&j=b70e5e73-bbb6-5567-0939-8415943fadb9&t=2102385d-609d-5572-64d2-932661c7902f&l=399,
Image

The file names of the examples contain many underscores ('_'), which leads to different sorting results between Windows and Linux. A quick solution might be to sort all file names uniformly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working lib:tcgc Issues for @azure-tools/typespec-client-generator-core library
Projects
None yet
Development

No branches or pull requests

2 participants