Skip to content

Commit

Permalink
fix: update DefaultLineHandler
Browse files Browse the repository at this point in the history
  • Loading branch information
iret-kawashima committed Nov 10, 2023
1 parent 914e075 commit 99d198f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion parser.go
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ func DefaultLineHandler(matches []string, fields []string, index int) (string, e
if i < len(fields) {
builder.WriteString(",\"")
builder.WriteString(fields[i])
if match == "-" {
if match == "\"-\"" {
builder.WriteString("\":\"-\"")
continue
}
Expand Down

0 comments on commit 99d198f

Please sign in to comment.