Using Glob Patterns in File Operations and Dealing with No Match Found Error #10673
Labels
file-system
Related to commands and core nushell behavior around the file system
glob-expansion
Specific behavior around file-system globbing with regular commands or `glob`
needs-triage
An issue that hasn't had any proper look
Describe the bug
Certain file operations checks glob pattern match on given parameter. But what if the file exists with that name? It fails, with 'No match(es) found'.
To solve:
We could either
I'm implementing the second approach on glob-prevents branch on my fork.
How to reproduce
Example
Expected behavior
Last command should be successful. Because of glob match check it will not. I'm working
Screenshots
No response
Configuration
Additional context
No response
The text was updated successfully, but these errors were encountered: