forked from MapComplete/MapComplete
More refactoring of the tests
This commit is contained in:
parent
308ab74a08
commit
97c88af619
11 changed files with 199 additions and 247 deletions
|
@ -145,6 +145,7 @@ class AddDefaultLayers extends DesugaringStep<LayoutConfigJson> {
|
|||
const v = state.sharedLayers.get(layerName)
|
||||
if (v === undefined) {
|
||||
errors.push("Default layer " + layerName + " not found")
|
||||
continue
|
||||
}
|
||||
if(alreadyLoaded.has(v.id)){
|
||||
warnings.push("Layout "+context+" already has a layer with name "+v.id+"; skipping inclusion of this builtin layer")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue