Skip to content

search: refactor Resolve (repos)

Warren Gifford requested to merge master-dry-run/sh/refactor-resolve into main

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.

Merge request reports

Loading