Merge branch 'main' into tairu

This commit is contained in:
りき萌 2024-02-17 22:30:37 +01:00
commit 565b6a0520
4 changed files with 39 additions and 1 deletions

View file

@ -279,7 +279,6 @@ pub fn generate(paths: &Paths<'_>) -> anyhow::Result<Treehouse> {
config.site = std::env::var("TREEHOUSE_SITE").unwrap_or(config.site);
config.autopopulate_emoji(&paths.static_dir.join("emoji"))?;
config.autopopulate_pics(&paths.static_dir.join("pic"))?;
dbg!(&config.pics);
info!("cleaning target directory");
let _ = std::fs::remove_dir_all(paths.target_dir);