aboutsummaryrefslogtreecommitdiffhomepage
path: root/resources/resource_transformers
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <[email protected]>2022-05-25 21:21:28 +0200
committerBjørn Erik Pedersen <[email protected]>2022-05-25 21:21:28 +0200
commit805b21555e283c28a669943a36af6d6d699e9198 (patch)
tree3b0654219052d6d5523d1f79ed87e865d4f8be07 /resources/resource_transformers
parent8ca70525281d519f0e7d24e64248f055c4de07e6 (diff)
downloadhugo-805b21555e283c28a669943a36af6d6d699e9198.tar.gz
hugo-805b21555e283c28a669943a36af6d6d699e9198.zip
Fix error message when PostCSS config file is not found
Fixes #9927
Diffstat (limited to 'resources/resource_transformers')
-rw-r--r--resources/resource_transformers/postcss/postcss.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/resource_transformers/postcss/postcss.go b/resources/resource_transformers/postcss/postcss.go
index ed08f7202..adf2b5164 100644
--- a/resources/resource_transformers/postcss/postcss.go
+++ b/resources/resource_transformers/postcss/postcss.go
@@ -170,7 +170,7 @@ func (t *postcssTransformation) Transform(ctx *resources.ResourceTransformationC
configFile = t.rs.BaseFs.ResolveJSConfigFile(configFile)
if configFile == "" && t.options.Config != "" {
// Only fail if the user specified config file is not found.
- return fmt.Errorf("postcss config %q not found:", configFile)
+ return fmt.Errorf("postcss config %q not found:", t.options.Config)
}
}