From a9cfcc20191d51b0f95f8aa004d5104e8af41d13 Mon Sep 17 00:00:00 2001 From: Francois Daoust Date: Tue, 30 Apr 2024 19:36:26 +0200 Subject: [PATCH] Fix JSON format output of view event tool --- tools/view-event.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/view-event.mjs b/tools/view-event.mjs index 710e0aa..713d547 100644 --- a/tools/view-event.mjs +++ b/tools/view-event.mjs @@ -31,7 +31,7 @@ async function main(format) { console.warn(`- found ${project.sessions.length} sessions`); if (format === 'json') { - const data = convertToJSON(project); + const data = convertProjectToJSON(project); console.log(JSON.stringify(data, null, 2)); } else {