pass metadata: fixed some of the output formatting

This commit is contained in:
Aki Van Ness 2021-11-16 15:24:28 -05:00 committed by N. Engelhardt
parent f6bb238051
commit d8b85e1247
1 changed files with 3 additions and 0 deletions

View File

@ -117,6 +117,7 @@ struct MetadataWriter
first_sort = false; first_sort = false;
} }
f << stringf("\n");
f << stringf(" ],\n"); f << stringf(" ],\n");
f << stringf(" \"connections\": [\n"); f << stringf(" \"connections\": [\n");
@ -155,6 +156,7 @@ struct MetadataWriter
first_port = false; first_port = false;
} }
f << stringf("\n");
f << stringf(" ],\n \"cells\": [\n"); f << stringf(" ],\n \"cells\": [\n");
bool first_cell{true}; bool first_cell{true};
@ -166,6 +168,7 @@ struct MetadataWriter
first_cell = false; first_cell = false;
} }
f << stringf("\n");
f << stringf(" ]\n"); f << stringf(" ]\n");
f << stringf(" }"); f << stringf(" }");
} }