forked from MapComplete/MapComplete
Merge branch 'develop' into feature/studio
This commit is contained in:
commit
d9417f4937
135 changed files with 242 additions and 356 deletions
|
@ -33,7 +33,7 @@ const articles = {
|
|||
function addArticleToPresets(layerConfig: { presets?: { title: any }[] }) {
|
||||
/*
|
||||
if(layerConfig.presets === undefined){
|
||||
return
|
||||
return
|
||||
}
|
||||
for (const preset of layerConfig.presets) {
|
||||
preset.title = new Translation(preset.title, "autofix")
|
||||
|
@ -72,7 +72,7 @@ for (const layerFile of layerFiles) {
|
|||
)
|
||||
)
|
||||
addArticleToPresets(fixed)
|
||||
writeFileSync(layerFile.path, JSON.stringify(fixed, null, " "))
|
||||
writeFileSync(layerFile.path, JSON.stringify(fixed, null, " ") + "\n")
|
||||
} catch (e) {
|
||||
console.error("COULD NOT LINT LAYER" + layerFile.path + ":\n\t" + e)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue