summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--lib/CheckDir.hs4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/CheckDir.hs b/lib/CheckDir.hs
index 5ad195f..d6a7bd5 100644
--- a/lib/CheckDir.hs
+++ b/lib/CheckDir.hs
@@ -65,7 +65,9 @@ newtype MissingAsset = MissingAsset MissingDep
-- | given this config, should the result be considered to have failed?
resultIsFatal :: LintConfig' -> DirResult -> Bool
-resultIsFatal config res = maximumLintLevel res > configMaxLintLevel config
+resultIsFatal config res =
+ not (null $ dirresultMissingAssets res)
+ || maximumLintLevel res > configMaxLintLevel config
-- | maximum lint level that was observed anywhere in any map.
-- note that it really does go through all lints, so don't