Commit 99d0194
committed
Fix: Show path separator error regardless of directory existence
Fixes #1873
The error message about patterns containing path separators was only
shown when the pattern was also an existing directory. This change
makes the error consistent by showing it whenever a pattern contains
a path separator (and --full-path is not used), regardless of whether
the pattern is an existing directory.
This ensures users get helpful feedback even when they accidentally
use a path separator in a pattern that doesn't exist as a directory.1 parent bf81fb9 commit 99d0194
1 file changed
Lines changed: 1 addition & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
147 | 147 | | |
148 | 148 | | |
149 | 149 | | |
150 | | - | |
151 | | - | |
152 | | - | |
153 | | - | |
| 150 | + | |
154 | 151 | | |
155 | 152 | | |
156 | 153 | | |
| |||
0 commit comments