forked from MapComplete/MapComplete
Remove 'language' as field from the layoutConfigJson as it is now calculated based on the title
This commit is contained in:
parent
8b46a7e052
commit
0f47b84229
11 changed files with 40 additions and 37 deletions
|
@ -196,4 +196,10 @@ class LayerOverviewUtils {
|
|||
}
|
||||
}
|
||||
|
||||
try{
|
||||
new LayerOverviewUtils().main(process.argv)
|
||||
|
||||
}catch(e){
|
||||
console.error("ERROR WHILE GENERATING THE LAYERS:", e)
|
||||
console.log("If a weird error persists, 'npm run reset:layeroverview'")
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import ScriptUtils from "./ScriptUtils";
|
||||
import {writeFileSync} from "fs";
|
||||
import {FixLegacyTheme, UpdateLegacyLayer} from "../Models/ThemeConfig/LegacyJsonConvert";
|
||||
import {FixLegacyTheme, UpdateLegacyLayer} from "../Models/ThemeConfig/Conversion/LegacyJsonConvert";
|
||||
|
||||
/*
|
||||
* This script reads all theme and layer files and reformats them inplace
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue