Skip to content

Commit

Permalink
πŸ› fix bug stopping Ollama autodetect from working
Browse files Browse the repository at this point in the history
  • Loading branch information
sestinj committed Mar 7, 2024
1 parent a01435c commit 02a6542
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/util/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -187,5 +187,6 @@ export function getMarkdownLanguageTagForFile(filepath: string): string {
}

export function copyOf(obj: any): any {
if (obj === null || obj === undefined) return obj;
return JSON.parse(JSON.stringify(obj));
}

0 comments on commit 02a6542

Please sign in to comment.