mirror of
https://github.com/Jguer/yay.git
synced 2025-12-27 10:01:53 -05:00
chore(linting): code lint
This commit is contained in:
2
cmd.go
2
cmd.go
@@ -404,7 +404,7 @@ func syncList(ctx context.Context, httpClient *http.Client, cmdArgs *parser.Argu
|
||||
}
|
||||
|
||||
if config.Runtime.Mode.AtLeastAUR() && (len(cmdArgs.Targets) == 0 || aur) {
|
||||
req, err := http.NewRequestWithContext(ctx, "GET", config.AURURL+"/packages.gz", nil)
|
||||
req, err := http.NewRequestWithContext(ctx, "GET", config.AURURL+"/packages.gz", http.NoBody)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user