forked from MapComplete/MapComplete
Fix: use 'isCounted' instead of 'doCount', add check for this
This commit is contained in:
parent
a6598fd52d
commit
3a8fc4248b
6 changed files with 17 additions and 10 deletions
|
|
@ -88,6 +88,10 @@ export class PrevalidateLayer extends DesugaringStep<LayerConfigJson> {
|
|||
}
|
||||
}
|
||||
|
||||
if(json["doCount"] !== undefined){
|
||||
context.err("Detected 'doCount'. did you mean: isCounted ?")
|
||||
}
|
||||
|
||||
if (
|
||||
json.syncSelection !== undefined &&
|
||||
LayerConfig.syncSelectionAllowed.indexOf(json.syncSelection) < 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue