Skip to content

Commit

Permalink
fix: do not print find errors (#1102)
Browse files Browse the repository at this point in the history
  • Loading branch information
nozaq committed Dec 5, 2021
1 parent 234778a commit 5992abb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/commands/command-help.bash
Expand Up @@ -19,7 +19,7 @@ asdf_extension_cmds() {
for plugin_path in "$plugins_path"/*; do
plugin="$(basename "$plugin_path")"
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
printf "\\nPLUGIN %s\\n" "$plugin"
for ext_cmd in $ext_cmds; do
Expand Down

0 comments on commit 5992abb

Please sign in to comment.