-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
The project root folder has a sub-folder with restrictive permissions, "easyp lint" still tries to walk the sub-folder even the sub-folder path in "ignore" list.
To Reproduce
Steps to reproduce the behaviour:
1.
cat easyp.yaml | head -7
lint:
use:
- DEFAULT
enum_zero_value_suffix: _NONE
service_suffix: API
ignore:
- .data/
ls -ld .data/18/docker
drwx------ 19 dnsmasq username 4096 Dec 28 22:02 .data/18/docker
- Execute command 'easyp lint'
- Observe the error
easyp lint
time=2025-12-31T13:54:34.012+07:00 level=INFO msg="c.Lint: fs.WalkDir: open .data/18/docker: permission denied"
Expected behavior
easyp lint not fails because the ".data" path is ignored.
Desktop (please complete the following information):
- OS: Linux
- easyp version: v0.12.0
Reactions are currently unavailable
Metadata
Metadata
Labels
bugSomething isn't workingSomething isn't working