mirror of
https://github.com/Jguer/yay
synced 2024-07-03 08:51:44 +00:00
parent
4a9c736e2a
commit
26c9ab5a87
2
clean.go
2
clean.go
|
@ -130,7 +130,7 @@ func cleanAUR(ctx context.Context, config *settings.Configuration,
|
|||
// Querying the AUR is slow and needs internet so don't do it if we
|
||||
// don't need to.
|
||||
if keepCurrent {
|
||||
info, errInfo := query.AURInfo(ctx, config.Runtime.AURClient, cachedPackages, &query.AURWarnings{}, config.RequestSplitN)
|
||||
info, errInfo := query.AURInfo(ctx, config.Runtime.AURClient, cachedPackages, query.NewWarnings(nil), config.RequestSplitN)
|
||||
if errInfo != nil {
|
||||
return errInfo
|
||||
}
|
||||
|
|
|
@ -88,7 +88,7 @@ func AURInfo(ctx context.Context, aurClient rpc.ClientInterface, names []string,
|
|||
func AURInfoPrint(ctx context.Context, aurClient rpc.ClientInterface, names []string, splitN int) ([]Pkg, error) {
|
||||
text.OperationInfoln(gotext.Get("Querying AUR..."))
|
||||
|
||||
warnings := &AURWarnings{}
|
||||
warnings := NewWarnings(nil)
|
||||
|
||||
info, err := AURInfo(ctx, aurClient, names, warnings, splitN)
|
||||
if err != nil {
|
||||
|
|
Loading…
Reference in New Issue
Block a user