mirror of
https://github.com/zyllian/webdog.git
synced 2025-05-10 02:26:42 -07:00
make SiteBuilder
creation fallible
This commit is contained in:
parent
f4a2708794
commit
190cba1f3a
3 changed files with 6 additions and 7 deletions
|
@ -159,7 +159,7 @@ impl Site {
|
|||
|
||||
/// Builds the site once.
|
||||
pub fn build_once(self) -> eyre::Result<()> {
|
||||
let builder = SiteBuilder::new(self, false).prepare()?;
|
||||
let builder = SiteBuilder::new(self, false)?.prepare()?;
|
||||
|
||||
builder.site.build_all_pages(&builder)?;
|
||||
builder.build_sass()?;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue