🔧 Tweak migration code

This commit is contained in:
Simon Schneegans
2023-02-08 21:21:49 +01:00
parent 7fb6db28c2
commit 86f24c0a50
+1
View File
@@ -40,6 +40,7 @@ function migrate() {
r = r.replace(/^destroy-dialogs=.*\n?/gm, '');
r = r.replace(/^.*-preview-.*\n?/gm, '');
r = r.replace('[/]\n', '');
r = r.trim();
// There were some inconsistencies in the key names.
r.replace('flame-', 'fire-');