Skip to content

Commit ff7e2ef

Browse files
committed
fix README
1 parent 1a1cea1 commit ff7e2ef

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,15 +80,15 @@ As early as possible in your application, import and configure dotenv and then e
8080
const dotenv = require('dotenv')
8181
const dotenvExpand = require('dotenv-expand')
8282

83-
dotenvExpand(dotenv.config())
83+
dotenvExpand.expand(dotenv.config())
8484

8585
console.log(process.env) // remove this after you've confirmed it is expanding
8686
```
8787

8888
That's it. `process.env` now has the expanded keys and values you defined in your `.env` file.
8989

9090
```
91-
dotenvExpand(dotenv.config())
91+
dotenvExpand.expand(dotenv.config())
9292
9393
...
9494

0 commit comments

Comments
 (0)