Compare commits

...

1 Commits
V1.0.3 ... main

Author SHA1 Message Date
rick.chan b48d679e47 补充 footprint 结尾缺失的引号.
Signed-off-by: rick.chan <cy@sina.com>
2024-01-09 08:55:06 +08:00
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