Skip to content
This repository was archived by the owner on Dec 19, 2025. It is now read-only.

Commit ff56414

Browse files
committed
Rename GITHUB_API_TOKEN to GITHUB_TOKEN
1 parent 6d24ee8 commit ff56414

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/check.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ module.exports = (options, callback) => {
1616
}
1717

1818
// get options
19-
options.token = options.token || process.env.GITHUB_API_TOKEN || undefined
19+
options.token = options.token || process.env.GITHUB_TOKEN || undefined
2020
if (options.reduceTraffic) {
2121
console.warn('The "reduceTraffic" option is deprecated! Consider updating "github-version-checker" to a newer version.')
2222
}

0 commit comments

Comments
 (0)