From 483fd2c6badb7263b507dbb66515d364bc10f2af Mon Sep 17 00:00:00 2001 From: Lucas Kent Date: Wed, 4 Dec 2024 06:21:21 +1100 Subject: [PATCH] Quick fix for website generator --- website/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/src/main.rs b/website/src/main.rs index 519f743ac..4507dc2db 100644 --- a/website/src/main.rs +++ b/website/src/main.rs @@ -27,7 +27,7 @@ fn main() { } let root = current_dir.join("website").join("root"); - std::fs::remove_dir_all(&root).unwrap(); + std::fs::remove_dir_all(&root).ok(); std::fs::create_dir_all(&root).unwrap(); if let Err(err) = docs::generate_all_docs(current_dir) {