mirror of
https://github.com/jorgebucaran/fisher
synced 2024-07-02 23:11:48 +02:00
Use `!' instead of ERR for error reports.
This commit is contained in:
parent
ec5a66f028
commit
2f1a3abc4b
|
@ -563,7 +563,7 @@ function __fisher_plugin_url_clone_async -a url name
|
||||||
printf '$okay""OK""$nc Fetch $okay%s$nc %s\n' '$name' '$hm_url' > $__fisher_stderr
|
printf '$okay""OK""$nc Fetch $okay%s$nc %s\n' '$name' '$hm_url' > $__fisher_stderr
|
||||||
command cp -Rf '$fisher_cache/$name' '$fisher_config'
|
command cp -Rf '$fisher_cache/$name' '$fisher_config'
|
||||||
else
|
else
|
||||||
printf '$error""ERR""$nc Fetch $error%s$nc %s\n' '$name' '$hm_url' > $__fisher_stderr
|
printf '$error""!""$nc Fetch $error%s$nc %s\n' '$name' '$hm_url' > $__fisher_stderr
|
||||||
end
|
end
|
||||||
" > /dev/stderr &
|
" > /dev/stderr &
|
||||||
|
|
||||||
|
@ -668,7 +668,7 @@ function __fisher_update_path_async -a name path
|
||||||
pushd $path
|
pushd $path
|
||||||
|
|
||||||
if not command git fetch -q origin master ^ /dev/null
|
if not command git fetch -q origin master ^ /dev/null
|
||||||
printf '$error""ERR""$nc Fetch $error%s$nc\n' '$name' > $__fisher_stderr
|
printf '$error""!""$nc Fetch $error%s$nc\n' '$name' > $__fisher_stderr
|
||||||
exit
|
exit
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -1224,7 +1224,7 @@ function __fisher_log -a log message fd
|
||||||
}
|
}
|
||||||
|
|
||||||
function error(s) {
|
function error(s) {
|
||||||
printf("'$error'%s'$nc' %s\n", "ERR", s)
|
printf("'$error'%s'$nc' %s\n", "!", s)
|
||||||
}
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue