summaryrefslogtreecommitdiffstats
path: root/src/poem
diff options
context:
space:
mode:
Diffstat (limited to 'src/poem')
-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 1d41c40..f28436e 100644
--- a/src/poem/recite.rs
+++ b/src/poem/recite.rs
@@ -1,6 +1,6 @@
mod ps;
use super::Poem;
-use crate::path::prefresh;
+use crate::path;
use crate::poem::elements::rune::Rune;
use std::env;
use std::process::exit;
@@ -159,7 +159,7 @@ impl Reciteable for Poem {
// again
// If it still doesn't exist, print an error
if !verse.spellcheck(bins) {
- *bins = prefresh(path);
+ *bins = path::refresh(path);
if !verse.spellcheck(bins) {
eprintln!("dwvsh: {}: command not found", verse.verb());