Merge branch 'develop' into feature/studio

This commit is contained in:
Pieter Vander Vennet 2023-06-20 01:52:29 +02:00
commit d9417f4937
135 changed files with 242 additions and 356 deletions

View file

@ -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)
}