diff options
| -rw-r--r-- | github.js | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -259,6 +259,10 @@ GitHubBackend.prototype.getProjectList = function (callBack, errorCall) { }; })(); + if (repos.length === 0) { + callBack.call(myself, snapProjects); + } + repos.forEach(function (repo) { if (repo.description.indexOf('Snap! Project') > -1) { // TODO nicer detection var project, ghrepo, branch; |
