Closed mateusdeap closed 2 years ago
Looks good to me, but I wonder if we should test Ariel's idea about changing the name of the file to .env.local
as that is an already established naming convention?
@kindoflew Already did and it worked. Added the instruction in the README
then looks good to me!
So, I'm new to Github actions, what exactly is happening on that task that keeps failing. I went to the description but it only said it was cancelled and not much in the way of what went wrong...
So, I'm new to Github actions, what exactly is happening on that task that keeps failing. I went to the description but it only said it was cancelled and not much in the way of what went wrong...
@mateusdeap That was recently fixed in https://github.com/fastruby/dotenv_validator/pull/53
You can pull from main
so it works on this PR too
Description: Kind of fixes #46. The reason we get this bug is actually only when using docker and the reason is that Docker will parse any
.env
files present in the project. They do have an option for us to set a custom .env file, and we tried setting it to an empty file, but it would still parse.env
and assign values toENV
that included the white space and comments.We decided to simply update the README to warn users of this issue and that, currently, the only workaround is to remove any comments from the
.env
file.I will abide by the code of conduct.