File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -199,21 +199,6 @@ const performSeed: () => Promise<void> = async () => {
199199 const plLegends : Team = await prisma . team . create ( dbSeedAllTeams . plLegends ( cristianoRonaldo . userId ) ) ;
200200 const financeTeam : Team = await prisma . team . create ( dbSeedAllTeams . financeTeam ( monopolyMan . userId ) ) ;
201201
202- // /** Write to .env file the FINANCE_TEAM_ID as the justiceLeague TeamId */
203- // const financeTeamId = justiceLeague.teamId;
204- // /** Gets the current content of the .env file */
205- // const currentEnv = require('dotenv').config().parsed;
206- // /** If the .env file exists, set the FINANCE_TEAM_ID */
207- // if (currentEnv) {
208- // currentEnv.FINANCE_TEAM_ID = financeTeamId;
209- // /** Write the new .env file */
210- // let stringifiedEnv = '';
211- // Object.keys(currentEnv).forEach((key) => {
212- // stringifiedEnv += `${key}=${currentEnv[key]}\n`;
213- // });
214- // writeFileSync('.env', stringifiedEnv);
215- // }
216-
217202 /** Setting Team Members */
218203 await TeamsService . setTeamMembers (
219204 batman ,
You can’t perform that action at this time.
0 commit comments