Avoid unnecessary conversion

stderr is already a string.
This commit is contained in:
Christian Muehlhaeuser committed 2019-07-19 11:51:42 +02:00
1 parent f406866a45
commit 3700c1daa6
1 file changed
+1 -1
+1 -1
View File
@@ -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))
}