Closed bswinnerton closed 6 years ago
Pulling out my earlier comment from #8:
Is there any trick to getting this to work correctly?
@jasonrudolph, I suspect that you're hitting ⌘ + Enter before launchbar-github has a chance to fetch all of the repositories that the Apple organization has access to via an API call to GitHub.
Here's a screen capture of an up-to-date version of launchbar-github that has already cached the result of Apple's repositories:
A terrible workaround is to wait for the repositories appear before hitting ⌘ + Enter. But I've opened https://github.com/bswinnerton/launchbar-github/issues/87 to explore a better way of accomplishing this.
I suspect the offending line is right here:
This calls out to Account#repositories
, which makes an API call to GitHub here:
Before we check to see if the command key has been selected here:
As reported in https://github.com/bswinnerton/launchbar-github/issues/8#issuecomment-340189604: