From ab01efef51b03500b28058af7dd481059a406f43 Mon Sep 17 00:00:00 2001 From: BurakYs Date: Sun, 26 May 2024 15:39:24 +0300 Subject: [PATCH] remove unnecessary return --- src/index.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/index.ts b/src/index.ts index c114450..9de0084 100644 --- a/src/index.ts +++ b/src/index.ts @@ -2,9 +2,6 @@ import 'module-alias/register'; import 'dotenv/config'; import { Logger } from '@/helpers'; import Server from './server'; -import { existsSync, mkdirSync } from 'fs'; - -if (!existsSync('./logs')) mkdirSync('./logs'); if (process.argv.includes('--production')) process.env.NODE_ENV = 'production';