Skip to content

Commit

Permalink
Merge pull request #376 from twinnydotdev/development
Browse files Browse the repository at this point in the history
development > main
  • Loading branch information
rjmacarthy authored Nov 8, 2024
2 parents b982c8f + 1fb7996 commit 149330f
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "twinny",
"displayName": "twinny - AI Code Completion and Chat",
"description": "Locally hosted AI code completion plugin for vscode",
"version": "3.18.8",
"version": "3.18.9",
"icon": "assets/icon.png",
"keywords": [
"code-inference",
Expand Down
1 change: 1 addition & 0 deletions src/extension/embeddings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ export class EmbeddingDatabase extends Base {
)

ig.add(embeddingIgnoredGlobs)
ig.add([".git", ".gitignore"])

const gitIgnoreFilePath = path.join(rootPath, ".gitignore")

Expand Down
1 change: 1 addition & 0 deletions src/extension/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -663,6 +663,7 @@ export async function getAllFilePaths(dirPath: string): Promise<string[]> {
)

ig.add(embeddingIgnoredGlobs)
ig.add([".git", ".gitignore"])

const gitIgnoreFilePath = path.join(rootPath, ".gitignore")

Expand Down

0 comments on commit 149330f

Please sign in to comment.