Skip to content

Commit

Permalink
Removed branch to check for errors
Browse files Browse the repository at this point in the history
it’s impossible to test, for my ability anyway.

Signed-off-by: quobix <dave@quobix.com>
  • Loading branch information
daveshanley committed Sep 14, 2023
1 parent 25dcce8 commit afd6435
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions document.go
Original file line number Diff line number Diff line change
Expand Up @@ -192,9 +192,8 @@ func (d *document) RenderAndReload() ([]byte, Document, *DocumentModel[v3high.Do
var errs []error

newDoc, err := NewDocumentWithConfiguration(newBytes, d.config)
if err != nil {
errs = append(errs, err)
}
errs = append(errs, err)

// build the model.
model, buildErrs := newDoc.BuildV3Model()
if buildErrs != nil {
Expand Down

0 comments on commit afd6435

Please sign in to comment.