install.go: fix linter failure

(personal note: I don't believe this helps readability in this case,
"fixing" this to allow merge checks to pass)
This commit is contained in:
Ferdinand Bachmann 2020-02-17 00:18:29 +01:00 committed by J Guerreiro
parent 328c561230
commit 873b2db591

View File

@ -1114,9 +1114,9 @@ func buildInstallPkgbuilds(dp *depPool, do *depOrder, srcinfos map[string]*gosrc
if !ok {
if !optional {
return fmt.Errorf("Could not find PKGDEST for: %s", name)
} else {
return nil
}
return nil
}
arguments.addTarget(pkgdest)