Azure / azure-cli-dev-tools

Developer utilities for Azure CLI command module and extension developers.
MIT License
81 stars 113 forks source link

{CI} Fix cmdcov issue: remove `tested_command.txt` reference #455

Closed Pan-Qi closed 5 months ago

Pan-Qi commented 5 months ago

As tested_command.txt could potentially expose secrets, it has been ignored in PR

However, this change has caused the cmdcov tool to throw an exception because it cannot find tested_command.txt. Additionally, we have determined that tested_command.txt does not contribute to test coverage. Therefore, this PR aims to remove the logic that analyzes tested_command.txt and mitigate the exception.

Exception before fixing:

image

Works well after fixing:

image
azure-client-tools-bot-prd[bot] commented 5 months ago

Hi @Pan-Qi, Please write the description of change into HISTORY.rst. If you want to release a new azdev version, please update the VERSION in init.py as well.