mirror of
https://github.com/joho/godotenv.git
synced 2025-07-17 22:14:04 +00:00
Add line to Can't separate key from value
error message
This commit is contained in:
@ -259,7 +259,7 @@ func parseLine(line string, envMap map[string]string) (key string, value string,
|
|||||||
}
|
}
|
||||||
|
|
||||||
if len(splitString) != 2 {
|
if len(splitString) != 2 {
|
||||||
err = errors.New("Can't separate key from value")
|
err = fmt.Errorf("Can't separate key from value in line `%v`", line)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user