From 221c0c6ced80554625c035465a9b76eaa38d1a93 Mon Sep 17 00:00:00 2001 From: Insiro Date: Tue, 26 Jul 2022 00:11:16 +0900 Subject: [PATCH] add: process importation --- src/config.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/config.ts b/src/config.ts index 1b56f78..7a47427 100644 --- a/src/config.ts +++ b/src/config.ts @@ -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))