diff --git a/bom.go b/bom.go index e3296d3..ebfedc8 100644 --- a/bom.go +++ b/bom.go @@ -37,7 +37,7 @@ func transBomFormat(commentId, designatorId, footprintId int, contents []string) lines := strings.Split(line, "\",") if commentId < len(lines) && designatorId < len(lines) && footprintId < len(lines) { footprint := transBomFootprint(lines[footprintId]) - ostr += lines[commentId] + "\"," + lines[designatorId] + "\"," + footprint + "\n" + ostr += lines[commentId] + "\"," + lines[designatorId] + "\"," + footprint + "\"\n" } } return ostr