🐛 correctly adhere to LanceDB table name spec
This commit is contained in:
parent
044b2e8453
commit
a6b46b98cb
1 changed files with 1 additions and 4 deletions
|
|
@ -44,10 +44,7 @@ export class LanceDbIndex implements CodebaseIndex {
|
|||
) {}
|
||||
|
||||
private tableNameForTag(tag: IndexTag) {
|
||||
return tagToString(tag)
|
||||
.replace(/\//g, "")
|
||||
.replace(/\\/g, "")
|
||||
.replace(/\:/g, "");
|
||||
return tagToString(tag).replace(/[^\w-_.]/g, "");
|
||||
}
|
||||
|
||||
private async createSqliteCacheTable(db: DatabaseConnection) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue