补充 footprint 结尾缺失的引号.
Signed-off-by: rick.chan <cy@sina.com>
This commit is contained in:
parent
387a9cf777
commit
b48d679e47
2
bom.go
2
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
|
||||
|
|
Loading…
Reference in New Issue