fix missing field

This commit is contained in:
Maciej Jur 2024-07-20 17:20:43 +02:00
parent 2bcd5bb7bf
commit f35f60e883
Signed by: kamov
GPG key ID: 191CBFF5F72ECAFD

View file

@ -64,14 +64,8 @@ impl WebsiteBuilder {
self
}
pub fn add_output(mut self, output: Output) -> Self {
self.special.push(Rc::new(output));
self
}
pub fn finish(self) -> Website {
Website {
context: BuildContext::default(),
sources: self.sources,
special: self.special,
}