Skip to content
Snippets Groups Projects
Commit 502266b2 authored by stuebinm's avatar stuebinm
Browse files

abort copying on missing assets

parent 41d5441c
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment