Skip to content

Commit

Permalink
Fix message
Browse files Browse the repository at this point in the history
Signed-off-by: Marcos Lilljedahl <marcosnils@gmail.com>
  • Loading branch information
marcosnils committed Jul 20, 2020
1 parent 63d43c5 commit 8318480
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/prune.go
Expand Up @@ -49,7 +49,7 @@ func newPruneCmd() *pruneCmd {
}

if response != "Y" {
return fmt.Errorf("Update aborted")
return fmt.Errorf("Command aborted")
}

return config.RemoveBinaries(pathsToDel)
Expand Down
2 changes: 1 addition & 1 deletion cmd/update.go
Expand Up @@ -90,7 +90,7 @@ func newUpdateCmd() *updateCmd {
}

if response != "Y" {
return fmt.Errorf("Update aborted")
return fmt.Errorf("Command aborted")
}

//TODO :S code smell here, this pretty much does
Expand Down

0 comments on commit 8318480

Please sign in to comment.