fix: update path to .env file

This commit is contained in:
Josh Alling
2018-10-11 20:41:05 -06:00
committed by Stuart Taylor
parent b29ff0f6a8
commit c1a8227e99

View File

@ -1,6 +1,6 @@
const path = require('path');
const fs = require('fs');
require('dotenv').config({ path: path.resolve(__dirname, '../.env') });
require('dotenv').config({ path: path.resolve(__dirname, '../../../.env') });
const MongoClient = require('mongodb').MongoClient;
const { getChallengesForLang } = require('@freecodecamp/curriculum');
const { flatten } = require('lodash');