mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-25 22:00:58 +02:00
@@ -115,7 +115,7 @@ func (c *Chain) Apply(to io.Writer, from io.Reader) error {
|
||||
_, _ = io.Copy(tempfile, fb.from)
|
||||
return herrors.NewFileErrorFromFile(err, filename, hugofs.Os, nil)
|
||||
}
|
||||
return herrors.NewFileError(err, filename).UpdateContent(fb.from, nil)
|
||||
return herrors.NewFileErrorFromName(err, filename).UpdateContent(fb.from, nil)
|
||||
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user