fix: update path to .env file
This commit is contained in:
committed by
Stuart Taylor
parent
b29ff0f6a8
commit
c1a8227e99
@ -1,6 +1,6 @@
|
|||||||
const path = require('path');
|
const path = require('path');
|
||||||
const fs = require('fs');
|
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 MongoClient = require('mongodb').MongoClient;
|
||||||
const { getChallengesForLang } = require('@freecodecamp/curriculum');
|
const { getChallengesForLang } = require('@freecodecamp/curriculum');
|
||||||
const { flatten } = require('lodash');
|
const { flatten } = require('lodash');
|
||||||
|
Reference in New Issue
Block a user