nushell/crates/nu-cli
Luccas Mateus 66061192f8
Fix "mv allows moving a directory into itself" (#2619)
* make sort-by fail gracefully if mismatched types are compared

* Added a test to check if sorted-by with invalid types exists gracefully

* Linter changes

* removed redundant pattern matching

* Changed the error message

* Added a comma after every argument

* Changed the test to accomodate the new err messages

* Err message for sort-by invalid types now shows the mismatched types

* Lints problems

* Changed unwrap to expect

* Added the -f flag to rm command

Now when you a use rm -f there will be no error message, even if the
file doesnt actually exist

* Lint problems

* Fixed the wrong line

* Removed println

* Spelling mistake

* Fix problems when you mv a file into itself

* Lint mistakes

* Remove unecessary filtering in most cases
2020-10-01 14:01:05 +13:00
..
assets moved theme assets local to crate (#2329) 2020-08-11 13:57:03 -05:00
src Fix "mv allows moving a directory into itself" (#2619) 2020-10-01 14:01:05 +13:00
tests Fix "mv allows moving a directory into itself" (#2619) 2020-10-01 14:01:05 +13:00
build.rs Add wasm sample for CI (#2372) 2020-08-19 07:34:05 +12:00
Cargo.toml did_you_mean without dependency (#2610) 2020-09-29 16:32:29 +13:00