Skip to content

Commit 6c39ff0

Browse files
CyberT17msukkari
andauthored
fix(backend): Fixed parsing of ALWAYS_INDEX_FILE_PATTERNS (#773)
* fix(backend): Fixed parsing of ALWAYS_INDEX_FILE_PATTERNS by surrounding it with double quotes * fix(backend): Updated changelog * changelog nit --------- Co-authored-by: Michael Sukkarieh <michael.sukkarieh@mail.mcgill.ca>
1 parent 59ee6a5 commit 6c39ff0

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
### Fixed
11+
- Fixed an issue where the value for ALWAYS_INDEX_FILE_PATTERNS env var wasn't being parsed correctly [#773](https://github.com/sourcebot-dev/sourcebot/pull/773)
12+
1013
## [4.10.14] - 2026-01-21
1114

1215
### Fixed

packages/backend/src/zoekt.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export const indexGitRepository = async (repo: Repo, settings: Settings, revisio
2323
`-tenant_id ${repo.orgId}`,
2424
`-repo_id ${repo.id}`,
2525
`-shard_prefix ${shardPrefix}`,
26-
...largeFileGlobPatterns.map((pattern) => `-large_file ${pattern}`),
26+
...largeFileGlobPatterns.map((pattern) => `-large_file "${pattern}"`),
2727
repoPath
2828
].join(' ');
2929

0 commit comments

Comments
 (0)