Resolve PR #976 review comments

Signed-off-by: Joshua Colson <joshua.colson@gmail.com>
This commit is contained in:
Joshua Colson authored and Lorenzo Bolla committed 2021-09-24 10:29:33 +02:00
1 parent 899ed92ebc
commit 0bc66032d2
5 files changed
+68 -47

No files matched your search

+1 -3
View File
@@ -43,9 +43,7 @@ func aptlyMirrorListTxt(cmd *commander.Command, args []string) error {
context.CloseDatabase()
if len(repos) > 0 {
sort.Strings(repos)
}
sort.Strings(repos)
if raw {
for _, repo := range repos {