From f92f0f0e11359993348fc5f9ca5e21fcd3032255 Mon Sep 17 00:00:00 2001 From: mrromro Date: Mon, 14 Feb 2022 19:57:42 +0300 Subject: [PATCH] Revert "Error output" This reverts commit b69edd1c8c3a7276acfd8c92a6a98f4fcc234fa8. --- scripts/env.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/scripts/env.js b/scripts/env.js index 91c7f14..a4b428f 100644 --- a/scripts/env.js +++ b/scripts/env.js @@ -1,8 +1,4 @@ -const result = require('dotenv').config() - -if (result.error) { - throw result.error -} +require('dotenv').config() module.exports = { NODE_ENV: process.env.NODE_ENV || 'development',