diff --git a/tools/scripts/seed/seedChallenges.js b/tools/scripts/seed/seedChallenges.js index 56c1a4f7cc..5f767f348d 100644 --- a/tools/scripts/seed/seedChallenges.js +++ b/tools/scripts/seed/seedChallenges.js @@ -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');