Skip to content

search: prevent panic on nil SearchResult

Warren Gifford requested to merge rvt/no-nil-panic into main

Created by: rvantonder

rr can be nil here, I triggered it with an unconventional query on Sourcegraph.com (doesn't trigger on dev). Wondering if we should just always return a non-nil rr from r.resultsWithTimeoutSuggestion(ctx).

Merge request reports

Loading