Skip to content

Commit

Permalink
remove useless dotenv
Browse files Browse the repository at this point in the history
  • Loading branch information
woohm402 committed Dec 6, 2024
1 parent 983c917 commit 6f8e895
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 5 deletions.
Binary file modified bun.lockb
Binary file not shown.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
"devDependencies": {
"@types/bun": "1.1.6",
"@woohm402/eslint-config-base": "0.7.0",
"dotenv": "16.4.5",
"eslint": "9.9.0",
"knip": "5.27.2",
"prettier": "3.3.3",
Expand Down
4 changes: 0 additions & 4 deletions src/server.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import dotenv from 'dotenv';

import { SlackEvent } from './entities/Slack';
import { implementGitHubDeployWebhookController } from './infrastructures/implementGitHubDeployWebhookController';
import { implementMemberWaffleDotComRepository } from './infrastructures/implementMemberWaffleDotComRepository';
Expand All @@ -8,8 +6,6 @@ import { implementSlackPresenter } from './infrastructures/implementSlackPresent
import { implementDeploymentService } from './services/GithubDeploymentService';
import { implementSlackEventService } from './services/SlackEventService';

dotenv.config({ path: '.env.local' });

const slackAuthToken = process.env.SLACK_AUTH_TOKEN;
const slackBotToken = process.env.SLACK_BOT_TOKEN;
const slackWatcherChannelId = process.env.SLACK_WATCHER_CHANNEL_ID;
Expand Down

0 comments on commit 6f8e895

Please sign in to comment.