about summary refs log tree commit diff stats
path: root/internal/programs/programs.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/programs/programs.go')
-rw-r--r--internal/programs/programs.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/programs/programs.go b/internal/programs/programs.go
index 090bcf1..dc5bd23 100644
--- a/internal/programs/programs.go
+++ b/internal/programs/programs.go
@@ -105,7 +105,7 @@ func (p *DB) Close() errors.E {
 }
 
 func (p *DB) GetPackagePrograms(ctx context.Context, pkg string) ([]string, errors.E) {
-	programs := make([]string, 10)
+	var programs []string
 	if p.db == nil {
 		return nil, errors.New("database not open")
 	}