mirror of
https://github.com/Jguer/yay
synced 2024-10-02 22:33:47 +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
|
// Querying the AUR is slow and needs internet so don't do it if we
|
||||||
// don't need to.
|
// don't need to.
|
||||||
if keepCurrent {
|
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 {
|
if errInfo != nil {
|
||||||
return errInfo
|
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) {
|
func AURInfoPrint(ctx context.Context, aurClient rpc.ClientInterface, names []string, splitN int) ([]Pkg, error) {
|
||||||
text.OperationInfoln(gotext.Get("Querying AUR..."))
|
text.OperationInfoln(gotext.Get("Querying AUR..."))
|
||||||
|
|
||||||
warnings := &AURWarnings{}
|
warnings := NewWarnings(nil)
|
||||||
|
|
||||||
info, err := AURInfo(ctx, aurClient, names, warnings, splitN)
|
info, err := AURInfo(ctx, aurClient, names, warnings, splitN)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
Loading…
Reference in a new issue