mirror of
https://github.com/nushell/nushell
synced 2024-12-28 14:03:09 +00:00
c130ca1bc6
Fixes #7693 On `cp` commands there were two error which pass error message with invalid detail about source and destination files . there error were for Not exist file and Permission denied . Examples: Before : Copy `source_file_valid` to `destination_invalid_dir` throw this error ; `copy file "/source_file_valid" failed: No such file or directory (os error 2) ` After this PR it will throw this if destination will be invalid : `copying to destination "/destination_invalid_dir" failed: No such file or directory (os error 2) ` it was for Permission denied too . --------- Co-authored-by: Stefan Holderbach <sholderbach@users.noreply.github.com> |
||
---|---|---|
.. | ||
playground | ||
commands.rs | ||
fs.rs | ||
lib.rs | ||
locale_override.rs | ||
macros.rs | ||
playground.rs |