code: function getRepos(auth, repoLimit, debugEnabled) {
    setRepoLimit(repoLimit);
    setDebugMode(debugEnabled);
    print(`Fetching repos (${limit ? 'First ' + limit : 'No limit'})`, debug);
    return authenticate(auth)
    .then(() => {
      return new Promise((resolve, reject) => {
        github.repos.getAll({
          sort: 'pushed',
          per_page: limit || 100 //eslint-disable-line
        }, (err, repos) => {
          if (err) {
            return reject(err);
          }
          return resolve(repos);
        });
      });
    });
  }
docs: Retrieves a list of repositories (All or limited).
  @param  {Object}  auth         Credentials containing an auth token
  @param  {Integer} repoLimit    Max. number of repos to query for PRs
  @param  {Boolean} debugEnabled Set the debug state
  @return {Promise}              Array of repositories