Skip to content

Commit

Permalink
add: process importation
Browse files Browse the repository at this point in the history
  • Loading branch information
Insiro committed Jul 25, 2022
1 parent 77eed0d commit 221c0c6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { DataSourceOptions } from 'typeorm';
import { BotServer } from './entity/BotServer';
import { NewsDate } from './entity/NewsDate';
import * as fs from 'fs';
import * as process from 'process';

const fileName = 'src/bot.env'
if (fs.existsSync(fileName))
Expand Down

0 comments on commit 221c0c6

Please sign in to comment.