mirror of
https://github.com/jorgebucaran/fisher
synced 2024-10-09 09:36:53 +02:00
Use error log type for skipped plugins.
This commit is contained in:
parent
874b5d98b7
commit
091c2231cd
1 changed files with 5 additions and 3 deletions
|
@ -282,6 +282,7 @@ function fisher
|
||||||
case \*
|
case \*
|
||||||
if test -z "$config"
|
if test -z "$config"
|
||||||
echo > $fisher_bundle
|
echo > $fisher_bundle
|
||||||
|
set -e fisher_dependency_count
|
||||||
else
|
else
|
||||||
__fisher_plugin_get_url_info -- "$fisher_config"/$config > $fisher_bundle
|
__fisher_plugin_get_url_info -- "$fisher_config"/$config > $fisher_bundle
|
||||||
end
|
end
|
||||||
|
@ -596,7 +597,7 @@ function __fisher_update
|
||||||
|
|
||||||
set jobs $jobs (__fisher_update_path_async "$i" "$path")
|
set jobs $jobs (__fisher_update_path_async "$i" "$path")
|
||||||
else
|
else
|
||||||
__fisher_log warn "Skipped @$i@"
|
__fisher_log error "Skipped @$i@"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -643,6 +644,7 @@ function __fisher_self_update
|
||||||
set -l new_version "$fisher_version"
|
set -l new_version "$fisher_version"
|
||||||
|
|
||||||
__fisher_completions_write > "$completions"
|
__fisher_completions_write > "$completions"
|
||||||
|
|
||||||
builtin source "$completions" ^ /dev/null
|
builtin source "$completions" ^ /dev/null
|
||||||
|
|
||||||
if test "$previous_version" = "$fisher_version"
|
if test "$previous_version" = "$fisher_version"
|
||||||
|
@ -1108,7 +1110,7 @@ function __fisher_list_plugin_directory
|
||||||
|
|
||||||
for i in $argv
|
for i in $argv
|
||||||
if test ! -d "$fisher_config/$i"
|
if test ! -d "$fisher_config/$i"
|
||||||
__fisher_log warn "Skipped @$i@" $__fisher_stderr
|
__fisher_log error "Skipped @$i@" $__fisher_stderr
|
||||||
|
|
||||||
return 1
|
return 1
|
||||||
end
|
end
|
||||||
|
@ -1839,7 +1841,7 @@ function __fisher_help -a cmd number
|
||||||
if test -d "$fisher_config/$cmd"
|
if test -d "$fisher_config/$cmd"
|
||||||
__fisher_log info "No manual for @$cmd@" $__fisher_stderr
|
__fisher_log info "No manual for @$cmd@" $__fisher_stderr
|
||||||
else
|
else
|
||||||
__fisher_log warn "Skipped @$cmd@" $__fisher_stderr
|
__fisher_log error "Skipped @$cmd@" $__fisher_stderr
|
||||||
end
|
end
|
||||||
|
|
||||||
return 1
|
return 1
|
||||||
|
|
Loading…
Reference in a new issue