Skip to content
This repository has been archived by the owner on Jun 6, 2022. It is now read-only.

Commit

Permalink
do not poll github if user/repo is not provided
Browse files Browse the repository at this point in the history
  • Loading branch information
antiwinter committed Aug 22, 2019
1 parent 8e9fb18 commit 5f1c952
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions source/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ let src = {
1,
(api, source, cb) => {
if (ad.source && source !== ad.source) return cb()
if (!ad.source && source === 'github') return cb()

let res = null
// log('iter', source)
Expand Down

0 comments on commit 5f1c952

Please sign in to comment.