Skip to content

Commit

Permalink
Revert "tpl: Fix baseof.html in error message"
Browse files Browse the repository at this point in the history
I need to rethink this.

This reverts commit 646a52a.
  • Loading branch information
bep committed Oct 7, 2018
1 parent 646a52a commit 8e825dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tpl/tplimpl/template.go
Original file line number Diff line number Diff line change
Expand Up @@ -568,7 +568,7 @@ func (t *htmlTemplates) handleMaster(name, overlayFilename, masterFilename strin
return err
}

masterTpl, err = t.t.New(masterFilename).Parse(templ)
masterTpl, err = t.t.New(overlayFilename).Parse(templ)
if err != nil {
return err
}
Expand Down Expand Up @@ -609,7 +609,7 @@ func (t *textTemplates) handleMaster(name, overlayFilename, masterFilename strin
return err
}

masterTpl, err = t.t.New(masterFilename).Parse(templ)
masterTpl, err = t.t.New(overlayFilename).Parse(templ)
if err != nil {
return err
}
Expand Down

0 comments on commit 8e825dd

Please sign in to comment.