forked from MapComplete/MapComplete
Chore: fix tests, remove obsolete imports
This commit is contained in:
parent
3f577e7978
commit
2ea9236d37
6 changed files with 13 additions and 14 deletions
|
@ -868,7 +868,9 @@ class LayerOverviewUtils extends Script {
|
|||
id +
|
||||
"(feat: Feature, helperFunctions: Record<ExtraFuncType, (feature: Feature) => Function>) {"
|
||||
)
|
||||
allCode.push(" const {" + ExtraFunctions.types.join(", ") + "} = helperFunctions")
|
||||
if (code?.length > 0) {
|
||||
allCode.push(" const {" + ExtraFunctions.types.join(", ") + "} = helperFunctions")
|
||||
}
|
||||
for (const line of code) {
|
||||
const firstEq = line.indexOf("=")
|
||||
let attributeName = line.substring(0, firstEq).trim()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue