From afb783eb33e5e1610dfc3d9fb02880735d7cc6e6 Mon Sep 17 00:00:00 2001 From: seberoth Date: Sat, 20 Apr 2024 15:08:16 +0200 Subject: [PATCH] Update hook_global.wscript Pretty print json after hook, so error messages on import contain a line number --- Scripts/hook_global.wscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Scripts/hook_global.wscript b/Scripts/hook_global.wscript index 88261b0..7d2bb86 100644 --- a/Scripts/hook_global.wscript +++ b/Scripts/hook_global.wscript @@ -156,7 +156,7 @@ globalThis.onImportFromJson = function (jsonText) { // json["Data"]["RootChunk"]["cookingPlatform"] = "PLATFORM_PS5"; return { - jsonText: TypeHelper.JsonStringify(json) + jsonText: TypeHelper.JsonStringify(json, 2) } }