deptrac
deptrac copied to clipboard
Case sensitivity related problem
Minimal reproducing repo: https://github.com/savinmikhail/deptrac-bug-reproducing-repo
Expected behavior:
So I expect deptrac to differentiate ./config from ./src/Config, but it doesn't happen, and it scolds that src layer depends on src layer AND that src depends on config layer, which both not proper behavior, I think
Possibly the part of the problem is that I use macOS, which is case-insensitive to directories
Mb I misconfigured deptrac
Received output:
my config:
deptrac:
analyser:
types:
- class
- class_superglobal
- file
- function
- function_call
- function_superglobal
- use
paths:
- config
- src
layers:
- { name: config, collectors: [ { type: directory, value: ./config/.* } ] }
- { name: src, collectors: [ { type: directory, value: ./src/.* } ] }
ruleset:
config: [src]
for now I just excluded config rule from config
i will appreciate any help