mirror of
https://github.com/Jguer/yay.git
synced 2024-11-06 09:07:21 +01:00
Avoid unnecessary conversion
stderr is already a string.
This commit is contained in:
parent
f406866a45
commit
3700c1daa6
@ -279,7 +279,7 @@ func getPkgbuildsfromABS(pkgs []string, path string) (bool, error) {
|
||||
mux.Lock()
|
||||
downloaded++
|
||||
if err != nil {
|
||||
errs.Add(fmt.Errorf("%s Failed to move %s: %s", bold(red(arrow)), bold(cyan(pkg)), bold(red(string(stderr)))))
|
||||
errs.Add(fmt.Errorf("%s Failed to move %s: %s", bold(red(arrow)), bold(cyan(pkg)), bold(red(stderr))))
|
||||
} else {
|
||||
fmt.Printf(bold(cyan("::"))+" Downloaded PKGBUILD from ABS (%d/%d): %s\n", downloaded, len(names), cyan(pkg))
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user