Initialize repository knowledge cache
This commit is contained in:
1 parent
14a30a3695
commit
2d50da41cd
3 files changed
+31
-2
No files matched your search
@@ -28,7 +28,9 @@ export async function loadRepositoryKnowledge(
|
||||
if (!isNotFoundError(error)) {
|
||||
throw error;
|
||||
}
|
||||
return normalizeKnowledge(EMPTY_KNOWLEDGE);
|
||||
const initial = normalizeKnowledge(EMPTY_KNOWLEDGE);
|
||||
await saveRepositoryKnowledgeCache(initial, runtimeDirectory);
|
||||
return initial;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user