From c9c7923f08b240c3bd5bcfcab3d0c3ab518e158c Mon Sep 17 00:00:00 2001 From: Calvin Moore Date: Thu, 10 Mar 2022 22:35:15 -0500 Subject: [PATCH] Fixed import. --- config.js | 2 +- package-lock.json | 1 + package.json | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/config.js b/config.js index 115dc5d..b9c676c 100644 --- a/config.js +++ b/config.js @@ -1,5 +1,5 @@ (function () { - const dotenvExpand = require('./lib/main') + const dotenvExpand = require('./lib/main').expand; const env = require('dotenv').config( Object.assign( {}, diff --git a/package-lock.json b/package-lock.json index 62bf11a..1a0cf23 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5,6 +5,7 @@ "requires": true, "packages": { "": { + "name": "dotenv-expand", "version": "8.0.1", "license": "BSD-2-Clause", "devDependencies": { diff --git a/package.json b/package.json index 48776da..ef0ca07 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "dotenv-expand", - "version": "8.0.1", + "version": "8.0.2", "description": "Expand environment variables using dotenv", "main": "lib/main.js", "types": "lib/main.d.ts",