Skip to content

Commit

Permalink
Quick fix for website generator
Browse files Browse the repository at this point in the history
  • Loading branch information
rukai committed Dec 3, 2024
1 parent af2c8c4 commit 483fd2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 483fd2c

Please sign in to comment.