mirror of
https://github.com/danbulant/nushell
synced 2026-05-20 21:08:34 +00:00
* Fix '/' and '..' not being valid mv targets If `/` or `../` is specified as the destination for `mv`, it will fail with an error message saying it's not a valid destination. This fixes it to account for the fact that `Path::file_name` return `None` when the file name evaluates to `/` or `..`. It will only take the slow(er) path if `Path::file_name` returns `None` in its initial check. Fixes #1291 * Add test |
||
|---|---|---|
| .. | ||
| commands | ||
| format_conversions | ||
| main.rs | ||