added back a more helpfull message when the docs directory does not

exist
This commit is contained in:
2023-02-02 18:39:28 +01:00
parent ee8c69fbc4
commit b47688d060

View File

@@ -29,7 +29,7 @@ impl BuildExecution {
let path = "./docs/".to_string(); let path = "./docs/".to_string();
if !Self::directory_exists(&path) { 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() { if let Err(error) = Self::prepare() {