bmitch / churn-php

Discover files in need of refactoring.
MIT License
1.36k stars 56 forks source link

directoriesToScan configuration doesn't handle relative paths well #300

Closed villfa closed 3 years ago

villfa commented 3 years ago

Given the following configuration:

# churn.yml

directoriesToScan:
- src

It works well only if the current working directory is the root of the project, but it doesn't work from another folder (eg churn run -c /path/to/my-project/).