Skip to content

Commit 581ef77

Browse files
committed
Removed Showing Table When No Applications Found
1 parent 8c391da commit 581ef77

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/commands/list.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ func (r *ListCmd) Run() error {
2525
registry.Update() // Update the registry with latest application info
2626
if len(registry.Entries) == 0 {
2727
fmt.Println("No installed Applications Found!")
28+
return nil
2829
}
2930

3031
var buf bytes.Buffer // Buffer which will hold the table

0 commit comments

Comments
 (0)