fix: satisfy lint after performance fixes

This commit is contained in:
777genius 2026-05-30 17:43:08 +03:00
parent 9ed1988346
commit 1ebeba8f6e
2 changed files with 3 additions and 3 deletions

View file

@ -82,7 +82,7 @@ function writeLockFile(lockPath: string): void {
} }
} }
if (closeError) { if (closeError) {
throw closeError; throw closeError instanceof Error ? closeError : new Error('Failed to close file lock');
} }
} }

View file

@ -71,9 +71,9 @@ const provisioningHarness = vi.hoisted(() => {
}; };
}); });
type SuggestionHookOptions = { interface SuggestionHookOptions {
enabled?: boolean; enabled?: boolean;
}; }
const suggestionHarness = vi.hoisted(() => { const suggestionHarness = vi.hoisted(() => {
const state = { const state = {