forked from MapComplete/MapComplete
misc(generateLayerOverview): disable warning on boostrap run
This commit is contained in:
parent
2f56f4d9fd
commit
22717f2b73
1 changed files with 1 additions and 1 deletions
|
@ -266,7 +266,7 @@ class ExpandTagRendering extends Conversion<
|
||||||
const lookup = this.lookup(tr)
|
const lookup = this.lookup(tr)
|
||||||
if (lookup === undefined) {
|
if (lookup === undefined) {
|
||||||
const isTagRendering = ctx.indexOf("On(mapRendering") < 0
|
const isTagRendering = ctx.indexOf("On(mapRendering") < 0
|
||||||
if (isTagRendering) {
|
if (isTagRendering && this._state.sharedLayers.size > 0) {
|
||||||
warnings.push(
|
warnings.push(
|
||||||
`${ctx}: A literal rendering was detected: ${tr}
|
`${ctx}: A literal rendering was detected: ${tr}
|
||||||
Did you perhaps forgot to add a layer name as 'layername.${tr}'? ` +
|
Did you perhaps forgot to add a layer name as 'layername.${tr}'? ` +
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue