Skip to content

Commit

Permalink
Fix hanging issue
Browse files Browse the repository at this point in the history
  • Loading branch information
rizerphe committed Nov 9, 2023
1 parent be4e3a4 commit 5643d4b
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "companion",
"name": "Companion",
"version": "1.4.0",
"version": "1.5.0",
"minAppVersion": "1.1.16",
"description": "Autocomplete with AI, including ChatGPT, through a copilot-like interface.",
"author": "rizerphe",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "obsidian-companion",
"version": "1.4.0",
"version": "1.5.0",
"description": "Autocomplete with AI, including ChatGPT, through a copilot-like interface.",
"main": "main.js",
"scripts": {
Expand Down
3 changes: 2 additions & 1 deletion src/cache.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,8 @@ export class CompletionCacher {
0,
findLastRegexIndex(
new RegExp(
this.accept_settings.splitter_regex
this.accept_settings.splitter_regex,
"gi"
),
completion
)
Expand Down
3 changes: 2 additions & 1 deletion versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,6 @@
"1.3.3": "1.1.16",
"1.3.4": "1.1.16",
"1.3.5": "1.1.16",
"1.4.0": "1.1.16"
"1.4.0": "1.1.16",
"1.5.0": "1.1.16"
}

0 comments on commit 5643d4b

Please sign in to comment.