Update refreshIndex.ts (#1866)
This commit is contained in:
parent
dd32daf21a
commit
7a097bdcbf
1 changed files with 2 additions and 2 deletions
|
|
@ -121,7 +121,7 @@ enum AddRemoveResultType {
|
|||
UpdateNewVersion = "updateNewVersion",
|
||||
UpdateOldVersion = "updateOldVersion",
|
||||
UpdateLastUpdated = "updateLastUpdated",
|
||||
Compute = "compute"
|
||||
Compute = "compute",
|
||||
}
|
||||
|
||||
async function getAddRemoveForTag(
|
||||
|
|
@ -451,7 +451,7 @@ export class GlobalCacheCodeBaseIndex implements CodebaseIndex {
|
|||
tag: IndexTag,
|
||||
): Promise<void> {
|
||||
await this.db.run(
|
||||
"INSERT INTO global_cache (cacheKey, dir, branch, artifactId) VALUES (?, ?, ?, ?)",
|
||||
"REPLACE INTO global_cache (cacheKey, dir, branch, artifactId) VALUES (?, ?, ?, ?)",
|
||||
cacheKey,
|
||||
tag.directory,
|
||||
tag.branch,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue