nushell/crates/nu-command/tests
Amirhossein Akhlaghpour c130ca1bc6
Fix: dst error on cp command (#7895)
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>
2023-02-01 21:48:21 +01:00
..
commands Fix: dst error on cp command (#7895) 2023-02-01 21:48:21 +01:00
format_conversions Use variable names directly in the format strings (#7906) 2023-01-29 19:37:54 -06:00
main.rs Expand Nushell's help system (#7611) 2022-12-30 17:44:37 +02:00