mirror of
https://github.com/Jguer/yay
synced 2024-09-14 22:00:50 +00:00
Merge pull request #989 from muesli/conversion-fixes
Avoid unnecessary conversion
This commit is contained in:
commit
64eadcdaa2
|
@ -279,7 +279,7 @@ func getPkgbuildsfromABS(pkgs []string, path string) (bool, error) {
|
||||||
mux.Lock()
|
mux.Lock()
|
||||||
downloaded++
|
downloaded++
|
||||||
if err != nil {
|
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 {
|
} else {
|
||||||
fmt.Printf(bold(cyan("::"))+" Downloaded PKGBUILD from ABS (%d/%d): %s\n", downloaded, len(names), cyan(pkg))
|
fmt.Printf(bold(cyan("::"))+" Downloaded PKGBUILD from ABS (%d/%d): %s\n", downloaded, len(names), cyan(pkg))
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue