Skip to content

Commit

Permalink
[Refactor] remove --token alias; prioritize GH_TOKEN
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Dec 28, 2021
1 parent 438f94a commit 0966e95
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions bin/can-merge
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,7 @@ const args = Yargs
type: 'string',
},
token: {
alias: 't',
demandOption: !(GITHUB_TOKEN || GH_TOKEN),
demandOption: !(GH_TOKEN || GITHUB_TOKEN),
describe: 'github access token',
type: 'string',
},
Expand Down

0 comments on commit 0966e95

Please sign in to comment.