crabmail

Static HTML email archive viewer in Rust
git clone git://git.alexwennerberg.com/crabmail
Log | Files | Refs | README | LICENSE

commit 5a098f995f0e7970796153407f94584c92131232
parent 186b42c27207c4d88c7fbfdc43b08a2ab8bca144
Author: alex wennerberg <alex@alexwennerberg.com>
Date:   Wed, 22 Dec 2021 17:23:41 -0800

remove atom.xml

Diffstat:
Msrc/main.rs | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/main.rs b/src/main.rs @@ -549,7 +549,9 @@ fn main() -> Result<()> { for leftover in curr_threads { let file_to_remove = out_dir.join("threads").join(format!("{}.html", leftover)); - std::fs::remove_file(&file_to_remove)?; + std::fs::remove_file(&file_to_remove).ok(); + let file_to_remove = out_dir.join("threads").join(format!("{}.xml", leftover)); + std::fs::remove_file(&file_to_remove).ok(); } // Remove any threads left over