Skip to content

Commit

Permalink
bugfix: forgot to flush file
Browse files Browse the repository at this point in the history
  • Loading branch information
Codetector1374 committed Jul 30, 2024
1 parent 2cf04d9 commit fcb914f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/bin/page_explorer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -179,8 +179,9 @@ impl PageExplorer {
}
}

if let Some(writer) = &mut self.output_writer {
if let Some(mut writer) = self.output_writer.take() {
writer.end_array().expect("Can't end array");
writer.finish_document().expect("Can't finish document");
}

info!(
Expand Down

0 comments on commit fcb914f

Please sign in to comment.