Skip to content
This repository has been archived by the owner on Aug 12, 2023. It is now read-only.

When registering a source, condition should recursively from current file dir to root #1625

Open
1 task done
TroySigX opened this issue Jul 14, 2023 · 0 comments
Open
1 task done
Labels
enhancement New feature or request

Comments

@TroySigX
Copy link

Issues

  • I have checked existing issues and there are no existing ones with the same request.

Feature description

I notice that when checking for conditions using utils.root_has_file, it only checks in the directory containing the .git folder. It would be better if it checks recursively from the current file's dir (or the pwd) up to the root folder (the same behavior as editorconfig)

Help

No

Implementation help

No response

@TroySigX TroySigX added the enhancement New feature or request label Jul 14, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant