Skip to content

Commit

Permalink
remove defunct github access token
Browse files Browse the repository at this point in the history
  • Loading branch information
jcubic committed May 13, 2018
1 parent 3a45d37 commit 4fb35d5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion contributors
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ if (argv.u && argv.r) {
"per_page": 100
};
if (argv.t) {
query['access_token'] = argv.t;
}
query['access_token'] = '158f7eadac269522ce16c805e238612a125e8277';
get('https://api.github.com' + path, query).then(function(contributors) {
return Promise.all(contributors.map(function(contributor) {
var path = contributor.url.replace(/https:\/\/[^\/]+/, '');
Expand Down
2 changes: 1 addition & 1 deletion update-contributors
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ function contributors() {
marker=$3
file=$4

CONTRIBUTORS=`./contributors -u $user -r $repo -m | tr '\n' ''`
CONTRIBUTORS=`./contributors -u $user -r $repo -m | tr '\n' ''`
if echo "$CONTRIBUTORS" | grep ERROR > /dev/null; then
echo "$CONTRIBUTORS" | tr '' '\n'
else
Expand Down

0 comments on commit 4fb35d5

Please sign in to comment.