mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-10-21 10:58:23 +00:00
Resolve PR #976 review comments
Signed-off-by: Joshua Colson <joshua.colson@gmail.com>
This commit is contained in:
1 parent
899ed92ebc
commit
0bc66032d2
5 files changed
+68
-47
No files matched your search
+2
-2
@@ -48,13 +48,13 @@ func aptlyRepoListTxt(cmd *commander.Command, args []string) error {
|
||||
|
||||
context.CloseDatabase()
|
||||
|
||||
sort.Strings(repos)
|
||||
|
||||
if raw {
|
||||
sort.Strings(repos)
|
||||
for _, repo := range repos {
|
||||
fmt.Printf("%s\n", repo)
|
||||
}
|
||||
} else {
|
||||
sort.Strings(repos)
|
||||
if len(repos) > 0 {
|
||||
fmt.Printf("List of local repos:\n")
|
||||
for _, repo := range repos {
|
||||
|
||||
Reference in new issue
Block a user