Skip to content

Commit

Permalink
Error output
Browse files Browse the repository at this point in the history
  • Loading branch information
mrromro committed Feb 14, 2022
1 parent 82d1bd0 commit b69edd1
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion scripts/env.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
require('dotenv').config()
const result = require('dotenv').config()

if (result.error) {
throw result.error
}

module.exports = {
NODE_ENV: process.env.NODE_ENV || 'development',
Expand Down

0 comments on commit b69edd1

Please sign in to comment.