Skip to content

zoekt: Fix nil panic

Warren Gifford requested to merge zoekt-fix-panic into main

Created by: chrismwendt

With "search.index.enabled": false, Zoekt searches panic because args.Zoekt is nil.

Is this an appropriate fix? I didn't see where the choice between indexed and unindexed search is made, so I simply returned nil early.

CleanShot 2022-03-05 at 13 01 22@2x

Test plan

No test plan yet, this is a draft.

Merge request reports

Loading