You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[bug] ALWAYS_INDEX_FILE_PATTERNS env var not being honored due to shell expansion #772
As per the sourcebot docs, the correct usage of ALWAYS_INDEX_FILE_PATTERNS is like this ALWAYS_INDEX_FILE_PATTERNS=**/*.sum,**/*.lock
The issue is that zoekt indexer will throw the following error message
The issue here is that when the Node's exec() runs the command through a shell (/bin/sh), it will expand glob patterns like **/*.go before passing them to the command.
To reproduce
Add the following ALWAYS_INDEX_FILE_PATTERNS=**/*.sum,**/*.lock to the sourcebot config. When the indexing begins zoekt will throw the above mentioned error.
Sourcebot deployment information
Sourcebot version: Since 4.10.1, was added in #631
Activity