Open mathroc opened 2 years ago
This was confusing - I agree that using .expect()
by default is a good idea, it would have drawn me the reason why I had access to every env variable except the one with a backslash in it, which was really confusing!
Only
C
works. IfA
orB
are present, the file fails to load.Since
dotenv.ok()
silence the error, it's quite hard to detect. I guess it should not fail if the file is absent, so we could.expect()
it and be more confident