mirror of
https://github.com/jorgebucaran/fisher
synced 2024-11-03 15:40:27 +00:00
Supress unwated error message when the cache is empty. Closes #66.
Running fisher --list on an empty cache will display an error message because the glob $fisher_cache/* did not expand.
This commit is contained in:
parent
859b567478
commit
1a2881207d
@ -1,3 +1,3 @@
|
|||||||
function __fisher_cache_list
|
function __fisher_cache_list
|
||||||
find -L $fisher_cache/* -maxdepth 0 -type d | sed 's|.*/||'
|
find -L $fisher_cache/* -maxdepth 0 -type d ^ /dev/null | sed 's|.*/||'
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user