philschatz / octokat.js

:octocat: Github API Client using Promises or callbacks. Intended for the browser or NodeJS.
http://philschatz.com/2014/05/25/octokat/
MIT License
421 stars 133 forks source link

Runtime loop #283

Open Gcaufy opened 5 years ago

Gcaufy commented 5 years ago

I just wrote a simple code:

const github = new Octokat({ token: 'xxx', auth: 'oauth' });
const repo = github.repos(myname, myrepo);

and then, I add a console.log(1) before this line: https://github.com/philschatz/octokat.js/blob/3209c273618c9b22737fb3c1956b76f0c523d564/src/chainer.js#L31

then I found it print 106 times, does it really need to run to many times?