Skip to content

search: fix panic calling getExactFilePatterns for unguarded glob flag

Administrator requested to merge rvt/fix-suggestion-panic into main

Created by: rvantonder

The getExactFilePatterns function should be guarded by the getBoolPtr(settings.SearchGlobbing, false) flag (not or clause). Prior to this fix, the suggestions code can trigger a type assertion error on this path.

Merge request reports

Loading