Skip to content

Commit

Permalink
feat: don't ignore small inputs
Browse files Browse the repository at this point in the history
fixes #17
  • Loading branch information
sentriz committed Oct 26, 2021
1 parent 4e8c459 commit 435a3cd
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions cliphist.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,6 @@ func store() error {
if err != nil {
return fmt.Errorf("read stdin: %w", err)
}
if len(input) <= 2 {
return nil
}
if len(bytes.TrimSpace(input)) == 0 {
return nil
}
Expand Down

0 comments on commit 435a3cd

Please sign in to comment.