add newlines to config file when rewriting with theme stuff

This commit is contained in:
Bruno Windels 2022-05-18 20:46:38 +02:00
parent 7a197c0a1a
commit f21e103270

View File

@ -38,7 +38,7 @@ function addThemesToConfig(bundle, manifestLocations, defaultThemes) {
const config = JSON.parse(source);
config["themeManifests"] = manifestLocations;
config["defaultTheme"] = defaultThemes;
info.source = new TextEncoder().encode(JSON.stringify(config));
info.source = new TextEncoder().encode(JSON.stringify(config, undefined, 2));
}
}
}