fix: ensure nf-dotenv handles duplicate env variables#18
Conversation
TedBrookings
left a comment
There was a problem hiding this comment.
I think this is okay, but I'd suggest maybe don't allow multiple definitions of the same environment. It feels like there's no good reason to have that and it's a likely bug. In my case, it was accidental and a bug. So I'd prefer the failure just with the improved error message.
Thanks! I realized I sent this in Slack but posting here so others can see the response:
|
This turned out to be an issue in the underlying dotenv parser and was fixed in 3.2.0:
Closes #17