mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-29 22:29:56 +02: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