Describe the bug
The poetry poly diff --short command wrongfully lists two projects changed, when there is only one.
This happens when the actual folder name and the project name in the toml file is different. This can be reproduced in the actual python-polylith repo.
To Reproduce
Steps to reproduce the behavior:
- Change code in one or more components of this repo.
- run
poetry poly diff --short
- reported changes are for
poetry_polylith_plugin,poetry-polylith-plugin
Expected behavior
Only one project should be reported. Preferably the project folder name, and not the name that can be found in the pyproject.toml file.