nushell/crates/nu-test-support/src
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
..
playground Fix: dst error on cp command (#7895) 2023-02-01 21:48:21 +01:00
commands.rs Use variable names directly in the format strings (#7906) 2023-01-29 19:37:54 -06:00
fs.rs Fix: dst error on cp command (#7895) 2023-02-01 21:48:21 +01:00
lib.rs Use nu-path correctly in nu! test macro to make dev-dependency transitive (#7488) 2022-12-15 18:53:26 +01:00
locale_override.rs Reduce again the number of match calls (#7815) 2023-01-24 12:23:42 +01:00
macros.rs Revert "Primitives now use color closures..." (#7710) 2023-01-08 21:53:52 -08:00
playground.rs Remove old nushell/merge engine-q 2022-02-07 14:54:06 -05:00