Skip to content

Commit

Permalink
Fixed preload error
Browse files Browse the repository at this point in the history
  • Loading branch information
devule committed Feb 5, 2022
1 parent 7fb3e8d commit 62a98bf
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions config.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
(function () {
const dotenvExpand = require('./lib/main')
const env = require('dotenv').config(
Object.assign(
{},
require('dotenv/lib/env-options'),
require('dotenv/lib/cli-options')(process.argv)
)
)
const { expand: dotenvExpand } = require('./lib/main')

const env = require('dotenv').config()

return dotenvExpand(env)
})()

0 comments on commit 62a98bf

Please sign in to comment.