corrected fork skipping logic
This commit is contained in:
parent
16bb7729ec
commit
1860c23632
2 changed files with 2 additions and 1 deletions
|
@ -18,7 +18,7 @@ github = (function(){
|
|||
var repos = [];
|
||||
var i;
|
||||
for (i = 0; i < data.repositories.length; i++){
|
||||
if (options.skip_forks && !data.repositories[i].fork)
|
||||
if (options.skip_forks && data.repositories[i].fork)
|
||||
continue;
|
||||
repos.push(data.repositories[i]);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue