fix codebase indexer config logic
This commit is contained in:
parent
c04ea421f7
commit
98d065ac30
1 changed files with 4 additions and 1 deletions
|
|
@ -249,7 +249,10 @@ export class CodebaseIndexer {
|
|||
}
|
||||
|
||||
const { config } = await this.configHandler.loadConfig();
|
||||
if (config?.disableIndexing) {
|
||||
if (!config) {
|
||||
return;
|
||||
}
|
||||
if (config.disableIndexing) {
|
||||
yield {
|
||||
progress,
|
||||
desc: "Indexing is disabled in config.json",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue