refactor: simplify text validation

#2
by takarajordan - opened

Replace explicit text validation with simpler 'if text:' check that handles
all falsy cases (None, empty string, whitespace) while maintaining the same
functionality.

Cohere For AI org

hey thanks. I've fixed this in my previous commit along with few other things.

shivalikasingh changed pull request status to closed

Yay! Nice one

Your need to confirm your account before you can post a new comment.

Sign up or log in to comment