mirror of
https://github.com/gohugoio/hugo.git
synced 2026-08-24 15:28:54 +00:00
@@ -138,6 +138,6 @@ func errWithFileContext(inerr error, r source.File) error {
|
||||
}
|
||||
defer f.Close()
|
||||
|
||||
return herrors.NewFileError(inerr, realFilename).UpdateContent(f, nil)
|
||||
return herrors.NewFileErrorFromName(inerr, realFilename).UpdateContent(f, nil)
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user