Add line to `Can't separate key from value` error message

This commit is contained in:
Noah Snelson 2021-06-11 23:27:39 -07:00
parent ddf83eb33b
commit 0952ff0346
1 changed files with 1 additions and 1 deletions

View File

@ -259,7 +259,7 @@ func parseLine(line string, envMap map[string]string) (key string, value string,
}
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
}