From ff7e2efd0d9925c7da82c167ae77d22a6c76e878 Mon Sep 17 00:00:00 2001 From: Scott Motte Date: Tue, 27 Feb 2024 17:08:31 -0800 Subject: [PATCH] fix README --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 079d4ee..521f1fc 100644 --- a/README.md +++ b/README.md @@ -80,7 +80,7 @@ As early as possible in your application, import and configure dotenv and then e const dotenv = require('dotenv') const dotenvExpand = require('dotenv-expand') -dotenvExpand(dotenv.config()) +dotenvExpand.expand(dotenv.config()) console.log(process.env) // remove this after you've confirmed it is expanding ``` @@ -88,7 +88,7 @@ console.log(process.env) // remove this after you've confirmed it is expanding That's it. `process.env` now has the expanded keys and values you defined in your `.env` file. ``` -dotenvExpand(dotenv.config()) +dotenvExpand.expand(dotenv.config()) ...