handle single-line ; comments
cicd / ci (push) Successful in 1m51s
Details
cicd / ci (push) Successful in 1m51s
Details
parent
5587429922
commit
23bd6e29c9
|
|
@ -338,6 +338,7 @@ func readTransactionName(r *bufio.Reader) (string, float64, string, bool, error)
|
||||||
return "", 0, "", false, nil
|
return "", 0, "", false, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
line = bytes.Split(line, []byte(";"))[0] // comment-free
|
||||||
fields := bytes.Fields(line)
|
fields := bytes.Fields(line)
|
||||||
|
|
||||||
isSet := false
|
isSet := false
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue