We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Last character on the last line of .env file is truncated if line is not newline terminated.
Example .env file: CLIENT_SECRET= 043cfc7a1fcb5295ccc67bb392ba1d5478fb2c04e6ca32442186a15fff787dbf CLIENT_ID= 968bc2d15f547b8473a213a9fbaacd0f39345859f6eea65563b9603563626c03 <NO \n here>
Environment.get("CLIENT_ID") equals "968bc2d15f547b8473a213a9fbaacd0f39345859f6eea65563b9603563626c03"
Environment.get("CLIENT_ID") equals "968bc2d15f547b8473a213a9fbaacd0f39345859f6eea65563b9603563626c0"
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Last character on the last line of .env file is truncated if line is not newline terminated.
Steps to reproduce
Example .env file:
CLIENT_SECRET= 043cfc7a1fcb5295ccc67bb392ba1d5478fb2c04e6ca32442186a15fff787dbf
CLIENT_ID= 968bc2d15f547b8473a213a9fbaacd0f39345859f6eea65563b9603563626c03 <NO \n here>
Expected behavior
Environment.get("CLIENT_ID") equals "968bc2d15f547b8473a213a9fbaacd0f39345859f6eea65563b9603563626c03"
Actual behavior
Environment.get("CLIENT_ID") equals "968bc2d15f547b8473a213a9fbaacd0f39345859f6eea65563b9603563626c0"
Environment
The text was updated successfully, but these errors were encountered: