Skip to content

Commit

Permalink
Fix JSON format output of view event tool
Browse files Browse the repository at this point in the history
  • Loading branch information
tidoust committed Apr 30, 2024
1 parent 2cfcba8 commit a9cfcc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/view-event.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit a9cfcc2

Please sign in to comment.