From b47688d060c713e634845f431923973429db4827 Mon Sep 17 00:00:00 2001 From: quirinecker Date: Thu, 2 Feb 2023 18:39:28 +0100 Subject: [PATCH] added back a more helpfull message when the docs directory does not exist --- src/app/commands/executions/build_execution.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/commands/executions/build_execution.rs b/src/app/commands/executions/build_execution.rs index 110708a..550d8ce 100644 --- a/src/app/commands/executions/build_execution.rs +++ b/src/app/commands/executions/build_execution.rs @@ -29,7 +29,7 @@ impl BuildExecution { let path = "./docs/".to_string(); if !Self::directory_exists(&path) { - return Self::docs_directory_missing(); + return Err("docs directory does not exist it. Create it or use the template".to_string()) } if let Err(error) = Self::prepare() {