diff --git a/src/app/commands/build.rs b/src/app/commands/build.rs index f19af2a..2b0524e 100644 --- a/src/app/commands/build.rs +++ b/src/app/commands/build.rs @@ -21,7 +21,9 @@ impl Build { }; let path = entry.path().to_str() - .expect("could not get text path"); + .expect("could not get text path") + .to_string() + .clone(); if entry.path().is_dir() { results = [