From 334ae14adad9e0eb314327b461626da77aa6f01b Mon Sep 17 00:00:00 2001 From: quirinecker Date: Thu, 2 Feb 2023 20:18:25 +0100 Subject: [PATCH] removed unused function to terminate warning --- src/app/commands/executions/build_execution.rs | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/app/commands/executions/build_execution.rs b/src/app/commands/executions/build_execution.rs index 550d8ce..dd466f9 100644 --- a/src/app/commands/executions/build_execution.rs +++ b/src/app/commands/executions/build_execution.rs @@ -129,13 +129,6 @@ impl BuildExecution { Path::new(path).is_dir() } - fn docs_directory_missing() -> Result<(), String> { - return Err( - "direcotry {path} was not found. The filesystem was maybe updated while build" - .to_string(), - ); - } - fn build_dir(&mut self, path: &str) -> Result<(), String> { let result = fs_util::fetch_paths_recursive(&path);