summaryrefslogtreecommitdiffstats
path: root/src/poem/recite.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/poem/recite.rs')
-rw-r--r--src/poem/recite.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/poem/recite.rs b/src/poem/recite.rs
index ffa97bf..037906b 100644
--- a/src/poem/recite.rs
+++ b/src/poem/recite.rs
@@ -155,9 +155,9 @@ impl Reciteable for Poem {
// If it doesn't exist, try refreshing the binary cache, and check
// again
// If it still doesn't exist, print an error
- if !verse.spellcheck(&env.bins) {
+ if !verse.spellcheck(&env.bins).is_some() {
env.bins = path::refresh();
- if !verse.spellcheck(&env.bins) {
+ if !verse.spellcheck(&env.bins).is_some() {
eprintln!("dwvsh: {}: command not found", verse.verb());
if verse.meter != Rune::And {