[x] Add an entry to CHANGELOG.md that links to this PR under the "main (unreleased)" heading.
Description:
This PRs adds a fallback to also support .env.template if .env.sample is not present. The .env.template file is created by dotenv itself when using the dotenv -t .env command, so it's important to support it since many users of dotenv could be using that instead of .env.sample. https://github.com/bkeepers/dotenv/tree/master#should-i-commit-my-env-file
CHANGELOG.md
that links to this PR under the "main (unreleased)" heading.Description:
This PRs adds a fallback to also support
.env.template
if.env.sample
is not present. The.env.template
file is created by dotenv itself when using thedotenv -t .env
command, so it's important to support it since many users of dotenv could be using that instead of.env.sample
. https://github.com/bkeepers/dotenv/tree/master#should-i-commit-my-env-fileThis fixes https://github.com/fastruby/dotenv_validator/issues/63
I had to refactor the tests a big to be able to test this better.
I will abide by the code of conduct.