forked from MapComplete/MapComplete
chore: automated housekeeping...
This commit is contained in:
parent
c9ce29f206
commit
40e894df8b
294 changed files with 14209 additions and 4192 deletions
|
|
@ -88,7 +88,7 @@ export class PrevalidateLayer extends DesugaringStep<LayerConfigJson> {
|
|||
}
|
||||
}
|
||||
|
||||
if(json["doCount"] !== undefined){
|
||||
if (json["doCount"] !== undefined) {
|
||||
context.err("Detected 'doCount'. did you mean: isCounted ?")
|
||||
}
|
||||
|
||||
|
|
@ -145,7 +145,11 @@ export class PrevalidateLayer extends DesugaringStep<LayerConfigJson> {
|
|||
}
|
||||
}
|
||||
|
||||
if(this._isBuiltin && json.allowMove === undefined && json.source["geoJson"] === undefined) {
|
||||
if (
|
||||
this._isBuiltin &&
|
||||
json.allowMove === undefined &&
|
||||
json.source["geoJson"] === undefined
|
||||
) {
|
||||
if (!Constants.priviliged_layers.find((x) => x == json.id)) {
|
||||
context.err("Layer " + json.id + " does not have an explicit 'allowMove'")
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue