From fac724dc3f1e5168feab01e9c7a8d2b5dfc95111 Mon Sep 17 00:00:00 2001 From: D8H Date: Fri, 5 Jan 2024 11:47:54 +0100 Subject: [PATCH] Fix the indentation of extensions exported from the web-app (#6148) --- .../Storage/BrowserEventsFunctionsExtensionWriter.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/newIDE/app/src/EventsFunctionsExtensionsLoader/Storage/BrowserEventsFunctionsExtensionWriter.js b/newIDE/app/src/EventsFunctionsExtensionsLoader/Storage/BrowserEventsFunctionsExtensionWriter.js index 3b8cb902dae7..b483b074af8a 100644 --- a/newIDE/app/src/EventsFunctionsExtensionsLoader/Storage/BrowserEventsFunctionsExtensionWriter.js +++ b/newIDE/app/src/EventsFunctionsExtensionsLoader/Storage/BrowserEventsFunctionsExtensionWriter.js @@ -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);