Skip to content

Commit 9d60512

Browse files
committed
fix: add dotenv
1 parent 647e3c1 commit 9d60512

File tree

3 files changed

+22
-3
lines changed

3 files changed

+22
-3
lines changed

core/config.js

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
require('dotenv').config();
2+
13
const DEFAULT_CONFIG = {
24
slackWebhook: process.env.SLACK_WEBHOOK,
35
teamsWebhook: process.env.TEAMS_WEBHOOK,

package-lock.json

+17-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@
1515
"scripts": {
1616
"test": "echo \"Error: no test specified\""
1717
},
18-
"dependencies": {},
18+
"dependencies": {
19+
"dotenv": "16.5.0"
20+
},
1921
"peerDependencies": {
2022
"google-auth-library": "9.15.1"
2123
},

0 commit comments

Comments
 (0)