We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 484b7f0 commit 22f7ad4Copy full SHA for 22f7ad4
bin/update-server.js
@@ -14,7 +14,7 @@ const assert = require('assert')
14
// Args
15
//
16
17
-const { TOKEN: token, REDIS_URL: redisUrl, PORT: port = 3000 } = process.env
+const { GH_TOKEN: token, REDIS_URL: redisUrl, PORT: port = 3000 } = process.env
18
assert(token, 'TOKEN required')
19
20
test/index.js
@@ -4,7 +4,7 @@ const { test } = require('tap')
4
const fetch = require('node-fetch')
5
const Updates = require('..')
6
7
-const { TOKEN: token } = process.env
+const { GH_TOKEN: token } = process.env
8
9
const cache = 100
10
0 commit comments