pass metadata: fixed some of the output formatting
authorAki Van Ness <aki@yosyshq.com>
Tue, 16 Nov 2021 20:24:28 +0000 (15:24 -0500)
committerN. Engelhardt <nakengelhardt@gmail.com>
Fri, 8 Apr 2022 06:05:15 +0000 (08:05 +0200)
backends/metadata/metadata.cc

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