Skip to content

Commit

Permalink
Fix dotenv-expand usage
Browse files Browse the repository at this point in the history
  • Loading branch information
minhnv2306 authored Aug 19, 2022
1 parent 6e4b81e commit 0136d12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/env.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const dotenvFiles = [
// https://github.com/motdotla/dotenv-expand
dotenvFiles.forEach(dotenvFile => {
if (fs.existsSync(dotenvFile)) {
require('dotenv-expand')(
require('dotenv-expand').expand(
require('dotenv').config({
path: dotenvFile,
}),
Expand Down

0 comments on commit 0136d12

Please sign in to comment.