Skip to content

Commit 22f7ad4

Browse files
committed
rename TOKEN to GH_TOKEN. closes #6
1 parent 484b7f0 commit 22f7ad4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

bin/update-server.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const assert = require('assert')
1414
// Args
1515
//
1616

17-
const { TOKEN: token, REDIS_URL: redisUrl, PORT: port = 3000 } = process.env
17+
const { GH_TOKEN: token, REDIS_URL: redisUrl, PORT: port = 3000 } = process.env
1818
assert(token, 'TOKEN required')
1919

2020
//

test/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ const { test } = require('tap')
44
const fetch = require('node-fetch')
55
const Updates = require('..')
66

7-
const { TOKEN: token } = process.env
7+
const { GH_TOKEN: token } = process.env
88

99
const cache = 100
1010

0 commit comments

Comments
 (0)