[ ] I have checked there are no open bugs referencing the same bug or problem
Description
When running Sourcery via remote SSH where the user has permissions to their home directory but not its parent, sourcery is failing with permission errors.
This is due to Sourcery attempting to find the project root and recursing too far up the directory structure.
Code snippet that reproduces issue
N/A
Debug Information
IDE Version:
VS Code
Sourcery Version:
1.3.0
Operating system and Version:
Linux RHE 8.7 with remote SSH
Checklist
Description
When running Sourcery via remote SSH where the user has permissions to their home directory but not its parent, sourcery is failing with permission errors.
This is due to Sourcery attempting to find the project root and recursing too far up the directory structure.
Code snippet that reproduces issue
N/A
Debug Information
IDE Version: VS Code
Sourcery Version: 1.3.0
Operating system and Version: Linux RHE 8.7 with remote SSH