diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2022-05-25 21:21:28 +0200 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2022-05-25 21:21:28 +0200 |
commit | 805b21555e283c28a669943a36af6d6d699e9198 (patch) | |
tree | 3b0654219052d6d5523d1f79ed87e865d4f8be07 /resources | |
parent | 8ca70525281d519f0e7d24e64248f055c4de07e6 (diff) |
Fix error message when PostCSS config file is not found
Fixes #9927
Diffstat (limited to 'resources')
-rw-r--r-- | resources/resource_transformers/postcss/postcss.go | 2 |
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) } } |