diff options
author | Bjørn Erik Pedersen <[email protected]> | 2022-05-15 11:40:34 +0200 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2022-05-15 20:25:25 +0200 |
commit | fc9f315d86e1fe51c3d1eec3b60680113b2e3aa6 (patch) | |
tree | 69e8ffc4d84e8f02e0e6f098c27cda9dd3bcc544 /transform | |
parent | 4b189d8fd93d3fa326b31d451d5594c917e6c714 (diff) | |
download | hugo-fc9f315d86e1fe51c3d1eec3b60680113b2e3aa6.tar.gz hugo-fc9f315d86e1fe51c3d1eec3b60680113b2e3aa6.zip |
Improve SASS errors
Fixes #9897
Diffstat (limited to 'transform')
-rw-r--r-- | transform/chain.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/transform/chain.go b/transform/chain.go index 31d1e804b..a5f042d96 100644 --- a/transform/chain.go +++ b/transform/chain.go @@ -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) } } |