2
0
Fork 0
mirror of https://github.com/nushell/nushell synced 2025-03-05 15:58:17 +00:00
nushell/crates/nu-command/tests
Solomon a04c90e22d
make ls return "Permission denied" for CWD instead of empty results ()
Fixes 

# User-Facing Changes

`ls` without a path argument now errors when the current working
directory is unreadable due to missing permissions:

```diff
mkdir foo
chmod 100 foo
cd foo
ls | to nuon
-[]
+Error:   × Permission denied
```
2024-11-15 12:09:02 +08:00
..
commands make ls return "Permission denied" for CWD instead of empty results () 2024-11-15 12:09:02 +08:00
format_conversions Make the subcommands (from {csv, tsv, ssv}) 0-based for consistency () 2024-06-26 17:51:47 -05:00
main.rs Rework sorting and add cell path and closure comparators to sort-by () 2024-10-09 19:18:16 -07:00
sort_utils.rs Rework sorting and add cell path and closure comparators to sort-by () 2024-10-09 19:18:16 -07:00