mirror of
https://github.com/joho/godotenv.git
synced 2025-08-24 22:43:59 +00:00
Update parser.go
Co-authored-by: Austin Sasko <austintyler0239@yahoo.com>
This commit is contained in:
@ -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)
|
||||||
|
Reference in New Issue
Block a user