nushell/crates/nu-test-support
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
..
src Fix: dst error on cp command (#7895) 2023-02-01 21:48:21 +01:00
tests [nu-test-support] Gate system locale tests (#7824) 2023-01-21 20:05:29 -05:00
Cargo.toml Bump to 0.75.1 development version (#7930) 2023-01-31 23:55:29 +01:00
LICENSE Include license text in all crates (#5094) 2022-04-08 10:47:13 +02:00