Skip to content

Commit

Permalink
remove unnecessary return
Browse files Browse the repository at this point in the history
  • Loading branch information
BurakYs committed May 26, 2024
1 parent 22bb7b2 commit ab01efe
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';

Expand Down

0 comments on commit ab01efe

Please sign in to comment.