Add error message on common typo in layerconfigs, fix #1928

This commit is contained in:
Pieter Vander Vennet 2024-04-28 11:07:51 +02:00
parent 8e70ecce8a
commit 799e2910c3

View file

@ -1647,6 +1647,10 @@ export class ValidateLayer extends Conversion<
}
}
if(json.allowMove?.["enableAccuraccy"] !== undefined){
context.enters("allowMove", "enableAccuracy").err("`enableAccuracy` is written with two C in the first occurrence and only one in the last")
}
return { raw: json, parsed: layerConfig }
}
}