Skip to content

Commit

Permalink
Merge pull request #272 from probablyup/master
Browse files Browse the repository at this point in the history
honor BUNDLESIZE_GITHUB_TOKEN over GITHUB_TOKEN
  • Loading branch information
siddharthkp committed Jan 15, 2019
2 parents 062d5b3 + 68ff27e commit df8f7d1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/token.js
@@ -1,7 +1,7 @@
const token =
process.env.github_token ||
process.env.GITHUB_TOKEN ||
process.env.bundlesize_github_token ||
process.env.BUNDLESIZE_GITHUB_TOKEN
process.env.BUNDLESIZE_GITHUB_TOKEN ||
process.env.github_token ||
process.env.GITHUB_TOKEN

module.exports = token

0 comments on commit df8f7d1

Please sign in to comment.