diff options
-rw-r--r-- | lib/Properties.hs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Properties.hs b/lib/Properties.hs index 7fc58c9..25bbbd3 100644 --- a/lib/Properties.hs +++ b/lib/Properties.hs @@ -229,6 +229,9 @@ checkObjectProperty :: Object -> Property -> LintWriter Layer checkObjectProperty obj p@(Property name _) = case name of "url" -> do pure () + unwrapURI (Proxy @"website") p + (dependsOn . Link) + (dependsOn . Local) unless (objectType obj == "website") $ complain "\"url\" can only be set for objects of type \"website\"" "allowApi" -> forbidProperty name |