mirror of
https://github.com/tiennm99/is-a-dev.git
synced 2026-10-14 04:16:11 +00:00
Fixes env fuck up
This commit is contained in:
1 parent
aae6f8d503
commit
ba38a08983
1 file changed
+3
-2
+3
-2
@@ -1,7 +1,8 @@
|
||||
const path = require('path');
|
||||
|
||||
if (!process.env.CI) {
|
||||
const { ENV = 'sandbox' } = process.env;
|
||||
const { ENV = 'sandbox', CI } = process.env;
|
||||
|
||||
if (!CI) {
|
||||
require('dotenv').config({ path: path.resolve(`.env.${ENV}`) });
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user