chore(linting): code lint

This commit is contained in:
jguer
2021-12-18 22:37:50 +01:00
committed by J Guerreiro
parent d02321bdc9
commit 1c22cc491c
4 changed files with 5 additions and 5 deletions

2
cmd.go
View File

@@ -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
}