Skip to content

Commit

Permalink
Removed Showing Table When No Applications Found
Browse files Browse the repository at this point in the history
  • Loading branch information
pegvin committed Apr 3, 2022
1 parent 8c391da commit 581ef77
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/commands/list.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ func (r *ListCmd) Run() error {
registry.Update() // Update the registry with latest application info
if len(registry.Entries) == 0 {
fmt.Println("No installed Applications Found!")
return nil
}

var buf bytes.Buffer // Buffer which will hold the table
Expand Down

0 comments on commit 581ef77

Please sign in to comment.