Azure / azure-sdk-tools

Tools repository leveraged by the Azure SDK team.
MIT License
112 stars 172 forks source link

[Go-SDK-Automation] Error should be reported when the readme.go.md has incorrect format #8658

Closed raych1 closed 1 month ago

raych1 commented 1 month ago

Description When the readme.go.md has incorrect format, the automation doesn't report any issue and finishes without any code generated.

Expected The tool should report the error in the readme.go.md and mention that the error blocks the SDK generation.

Sample file https://github.com/Azure/azure-rest-api-specs-pr/pull/8191/files#diff-82faea9bc06869bf1e50aeac41520f37a592dd279717dd2dcce99c4eadfb0843

Screenshot Additional 'go' is added in the readme.go.md: image

The logs of the automation tool: image

Alancere commented 1 month ago

resolve in pr