refac: better error message
This commit is contained in:
parent
789a43de40
commit
f422626935
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ import (
|
|||
|
||||
func selector(data []string, max int, tool string) (string, error) {
|
||||
if len(data) == 0 {
|
||||
return "", errors.New("No history available")
|
||||
return "", errors.New("no data available")
|
||||
}
|
||||
|
||||
// output to stdout and return
|
||||
|
|
Loading…
Reference in a new issue