From c8eb5d58ea8d71479d0558c19f49054c3287c090 Mon Sep 17 00:00:00 2001 From: quirinecker Date: Sat, 21 Jan 2023 17:24:13 +0100 Subject: [PATCH] fixed error --- src/app/commands/build.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 = [