Fix the indentation of extensions exported from the web-app (#6148)

This commit is contained in:
D8H
2024-01-05 11:47:54 +01:00
committed by GitHub
parent 9b4151f64c
commit fac724dc3f

View File

@@ -36,7 +36,7 @@ export default class BrowserEventsFunctionsExtensionWriter {
try {
await downloadStringContentAsFile(
filename,
JSON.stringify(serializedObject)
JSON.stringify(serializedObject, null, 2)
);
} catch (error) {
console.error('Unable to write the events function extension:', error);