mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-16 01:03:49 +00:00
Enable more biome lints and fix things
This commit is contained in:
parent
9c18439c4d
commit
d5fd685901
57 changed files with 151 additions and 199 deletions
|
|
@ -534,7 +534,7 @@ export function initTheme(themeName?: string, enableWatcher: boolean = false): v
|
|||
if (enableWatcher) {
|
||||
startThemeWatcher();
|
||||
}
|
||||
} catch (error) {
|
||||
} catch (_error) {
|
||||
// Theme is invalid - fall back to dark theme silently
|
||||
currentThemeName = "dark";
|
||||
theme = loadTheme("dark");
|
||||
|
|
@ -598,7 +598,7 @@ function startThemeWatcher(): void {
|
|||
if (onThemeChangeCallback) {
|
||||
onThemeChangeCallback();
|
||||
}
|
||||
} catch (error) {
|
||||
} catch (_error) {
|
||||
// Ignore errors (file might be in invalid state while being edited)
|
||||
}
|
||||
}, 100);
|
||||
|
|
@ -619,7 +619,7 @@ function startThemeWatcher(): void {
|
|||
}, 100);
|
||||
}
|
||||
});
|
||||
} catch (error) {
|
||||
} catch (_error) {
|
||||
// Ignore errors starting watcher
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue