search: refactor Resolve (repos)
Created by: stefanhengl
This simplifies the control flow. For all practical purposes defaultRepositories
will never
return err=nil
and 0 repos on Sourcegraph.com. If it does we will return a warning that
there are no repositories to be searched. In case we do return 0 repos and err=nil
, we
show a warning that there were no repositories to be searched.