Skip to content

Commit

Permalink
(mrsteele#133) Add README example for allowEmptyValues.
Browse files Browse the repository at this point in the history
  • Loading branch information
mkrause committed Jun 27, 2018
1 parent 04970c8 commit ea632a1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ module.exports = {
new Dotenv({
path: './some.other.env', // load this now instead of the ones in '.env'
safe: true, // load '.env.example' to verify the '.env' variables are all set. Can also be a string to a different file.
allowEmptyValues: true, // do not consider an empty string (`FOO=`) as a missing variable
systemvars: true, // load all the predefined 'process.env' variables which will trump anything local per dotenv specs.
silent: true // hide any errors
})
Expand Down

0 comments on commit ea632a1

Please sign in to comment.