Repository navigation
Commit b2bdfb7
committed
Keep the CLI error snapshots stable on Node.js 26
Node.js 26 appends the offending path to the `read` error raised when reading a
directory, so `config-invalid` and `invalid-ignore` fail their snapshots there
while passing on 14 through 22. Strip the appended path in runCli, which leaves
the existing snapshots valid on every version rather than pinning them to one.1 parent 0bc958e commit b2bdfb7
1 file changed
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
188 | 188 | | |
189 | 189 | | |
190 | 190 | | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
191 | 198 | | |
192 | 199 | | |
193 | 200 | | |
| |||
0 commit comments