forked from coop-cloud-mirrors/godotenv
Update parser.go
Co-authored-by: Austin Sasko <austintyler0239@yahoo.com>
This commit is contained in:
parent
a4061f306a
commit
687a37d9c9
@ -17,6 +17,7 @@ const (
|
|||||||
)
|
)
|
||||||
|
|
||||||
func parseBytes(src []byte, out map[string]string) error {
|
func parseBytes(src []byte, out map[string]string) error {
|
||||||
|
src = bytes.Replace(src, []byte("\r\n"), []byte("\n"), -1)
|
||||||
cutset := src
|
cutset := src
|
||||||
for {
|
for {
|
||||||
cutset = getStatementStart(cutset)
|
cutset = getStatementStart(cutset)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user