补充 footprint 结尾缺失的引号.

Signed-off-by: rick.chan <cy@sina.com>
This commit is contained in:
rick.chan 2024-01-09 08:55:06 +08:00
parent 387a9cf777
commit b48d679e47
1 changed files with 1 additions and 1 deletions

2
bom.go
View File

@ -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