summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorstuebinm2021-12-18 14:48:27 +0100
committerstuebinm2021-12-18 14:55:11 +0100
commitf62af2a10460bc2092bcd1c32aea893f93a0569b (patch)
tree4d090da44e98bac68fbd170d3d2d62e08e4e7d54
parentf92c8d3eeffd444f86e9d1970ec1f09f2db6411f (diff)
fix some weird lints
(since we're starting to get maps that actually pass linting, we also get to find more bugs! yay!)
-rw-r--r--lib/Properties.hs3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/Properties.hs b/lib/Properties.hs
index f6e2e0c..beca7e8 100644
--- a/lib/Properties.hs
+++ b/lib/Properties.hs
@@ -166,7 +166,7 @@ checkTileset = do
where
checkTilesetProperty :: Property -> LintWriter Tileset
checkTilesetProperty p@(Property name _value) = case name of
- "copyright" -> naiveEscapeProperty p
+ "tilesetCopyright" -> naiveEscapeProperty p
_ -> warn $ "unknown tileset property " <> prettyprint name
checkTile :: Tile -> LintWriter Tileset
@@ -349,7 +349,6 @@ checkTileLayerProperty p@(Property name _value) = case name of
unwrapURI (Proxy @"map") p
(\link -> do
dependsOn (MapLink link)
- warn $ "resolved link" <> link
setProperty "exitUrl" link
)
$ \path ->