mirror of
https://github.com/nushell/nushell.git
synced 2025-01-11 00:38:23 +01:00
81a48d6d0e
* 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 |
||
---|---|---|
.. | ||
nu_plugin_average | ||
nu_plugin_binaryview | ||
nu_plugin_fetch | ||
nu_plugin_inc | ||
nu_plugin_match | ||
nu_plugin_post | ||
nu_plugin_ps | ||
nu_plugin_str | ||
nu_plugin_sys | ||
nu_plugin_textview | ||
nu_plugin_tree | ||
nu-build | ||
nu-cli | ||
nu-errors | ||
nu-macros | ||
nu-parser | ||
nu-plugin | ||
nu-protocol | ||
nu-source | ||
nu-test-support | ||
nu-value-ext |