Current Behavior:
Inside the parseEnvFile() function, if the .env file does not exist or the script does not have permission to read it, the function exits silently without doing anything.
Expected Behavior:
It would be more intuitive for users to be informed when a .env file exists but cannot be accessed due to incorrect permissions. The function should output a warning message to stderr in such cases.
Additional Context:
This will help users quickly identify permission issues that prevent their environment from loading correctly when running the script without sourcing the .env to the environment.
Current Behavior:
Inside the
parseEnvFile()function, if the.envfile does not exist or the script does not have permission to read it, the function exits silently without doing anything.Expected Behavior:
It would be more intuitive for users to be informed when a
.envfile exists but cannot be accessed due to incorrect permissions. The function should output a warning message tostderrin such cases.Additional Context:
This will help users quickly identify permission issues that prevent their environment from loading correctly when running the script without sourcing the .env to the environment.