mirror of
https://github.com/asdf-vm/asdf.git
synced 2024-11-15 01:28:17 -07:00
fix: do not print find
errors (#1102)
This commit is contained in:
parent
234778a397
commit
5992abb09e
@ -19,7 +19,7 @@ asdf_extension_cmds() {
|
|||||||
for plugin_path in "$plugins_path"/*; do
|
for plugin_path in "$plugins_path"/*; do
|
||||||
plugin="$(basename "$plugin_path")"
|
plugin="$(basename "$plugin_path")"
|
||||||
ext_cmd_path="$plugin_path/lib/commands"
|
ext_cmd_path="$plugin_path/lib/commands"
|
||||||
ext_cmds="$(find "$ext_cmd_path" -name "command*.bash")"
|
ext_cmds="$(find "$ext_cmd_path" -name "command*.bash" 2>/dev/null)"
|
||||||
if [[ -n $ext_cmds ]]; then
|
if [[ -n $ext_cmds ]]; then
|
||||||
printf "\\nPLUGIN %s\\n" "$plugin"
|
printf "\\nPLUGIN %s\\n" "$plugin"
|
||||||
for ext_cmd in $ext_cmds; do
|
for ext_cmd in $ext_cmds; do
|
||||||
|
Loading…
Reference in New Issue
Block a user