From d75b215b4a34eaff8ed2048b73ea61736e34f266 Mon Sep 17 00:00:00 2001 From: JuanfeSanahuja Date: Fri, 26 Jan 2024 18:25:21 +0100 Subject: [PATCH] CommanExecutor: Fix malformed JSON #TASK-5511 --- .../main/java/org/opencb/opencga/app/cli/CommandExecutor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opencga-app/src/main/java/org/opencb/opencga/app/cli/CommandExecutor.java b/opencga-app/src/main/java/org/opencb/opencga/app/cli/CommandExecutor.java index 3b855444adf..cd532449d4e 100644 --- a/opencga-app/src/main/java/org/opencb/opencga/app/cli/CommandExecutor.java +++ b/opencga-app/src/main/java/org/opencb/opencga/app/cli/CommandExecutor.java @@ -335,7 +335,7 @@ private String printBody(List data, String tabs) { if (parameter.getData() == null) { res += printParameter(parameter, tab); } else { - res += tab + parameter.getName() + "\"" + ": [" + printBody(parameter.getData(), tab) + "],\n"; + res += tab + "\"" +parameter.getName() + "\"" + ": [" + printBody(parameter.getData(), tab) + "],\n"; } } res += tabs + "}";