fix: prefix unused watcherReady with underscore

This commit is contained in:
kumarabhirup 2026-02-21 11:04:43 -08:00
parent 119dcdc775
commit 9c3c339f48
No known key found for this signature in database
GPG Key ID: DB7CA2289CAB0167

View File

@ -15,7 +15,7 @@ let listeners = new Set<Listener>();
// eslint-disable-next-line @typescript-eslint/no-explicit-any
let sharedWatcher: any = null;
let sharedRoot: string | null = null;
let __watcherReady = false;
let _watcherReady = false;
async function ensureWatcher(root: string) {
if (sharedWatcher && sharedRoot === root) {return;}