diff options
author | Bjørn Erik Pedersen <[email protected]> | 2023-07-17 19:15:48 +0200 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2023-07-17 20:42:32 +0200 |
commit | 387c5f60f97141d638327f84ee426fb44f6c554e (patch) | |
tree | dd9b40c4f33532183d2e84b8ea09e7dc72cb1b4a /config | |
parent | c406fd3a0e0efa17f69095ca6317ba1036fc8964 (diff) | |
download | hugo-387c5f60f97141d638327f84ee426fb44f6c554e.tar.gz hugo-387c5f60f97141d638327f84ee426fb44f6c554e.zip |
Improve error messages for PostCSS etc.
Fixes #9730
Diffstat (limited to 'config')
-rw-r--r-- | config/commonConfig.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/commonConfig.go b/config/commonConfig.go index 2c6497b34..5cf526708 100644 --- a/config/commonConfig.go +++ b/config/commonConfig.go @@ -148,7 +148,7 @@ func (b BuildConfig) UseResourceCache(err error) bool { } if b.UseResourceCacheWhen == "fallback" { - return err == herrors.ErrFeatureNotAvailable + return herrors.IsFeatureNotAvailableError(err) } return true |