src: fix loadEnvFile ENOENT error
Before this change the error message for process.loadEnvFile()
without an .env
file present in the current working directory was looking like this: ENOENT: .env, Failed to load '%s'.
This obviously isn't what the author intended.
To fix that, just return a "plain" ENOENT open error. It should be descriptive enough. That means for the above example, the error message is now ENOENT: no such file or directory, open '.env'
.