Commit a785bec
authored
fix(deno-lint): Replace WalkBuilder.add_ignore with WalkBuilder.overrides (#646)
Fix the support of files.exclude from .denolint.json.
It did not work at all. Neither with a directory, nor with a patern.
Printing the errors from add_ignore revealed it:
lib/: line 1: Is a directory (os error 21)
lib/*.js: No such file or directory (os error 2)
Overrides are supposed to handle both directories and patterns.1 parent 000c6d7 commit a785bec
1 file changed
+15
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
| |||
133 | 134 | | |
134 | 135 | | |
135 | 136 | | |
136 | | - | |
| 137 | + | |
137 | 138 | | |
138 | 139 | | |
139 | 140 | | |
140 | 141 | | |
141 | | - | |
142 | | - | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
143 | 155 | | |
144 | 156 | | |
145 | 157 | | |
| |||
0 commit comments