summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/CheckMap.hs3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/CheckMap.hs b/lib/CheckMap.hs
index 258b6bb..73464a8 100644
--- a/lib/CheckMap.hs
+++ b/lib/CheckMap.hs
@@ -108,8 +108,7 @@ shrinkMapResult !res = res { mapresultAdjusted = () }
loadAndLintMap :: LintConfig' -> FilePath -> Int -> IO (Maybe (MapResult Full))
loadAndLintMap config path depth = loadTiledmap path <&> \case
Left err -> Just (MapResult mempty mempty mempty mempty Nothing mempty mempty mempty
- [ Hint Fatal . toText $
- path <> ": Fatal: " <> err
+ [ Hint Fatal . toText $ "Fatal: " <> err
])
Right waMap ->
Just (runLinter (takeFileName path == "main.json") config waMap depth)