🐛 fix bug stopping Ollama autodetect from working

This commit is contained in:
Nate Sesti 2024-03-07 08:41:15 -08:00
parent a01435cc55
commit 02a6542dc0

View file

@ -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));
}