fix(workspace-cleanup): satisfy scan queue lint

This commit is contained in:
Brennan Benson
2026-08-13 01:03:41 -07:00
parent 15b7e81a8e
commit 9ab577f9d1
@@ -74,7 +74,7 @@ export function useWorkspaceCleanupGitEvidence({
const queueIndex = queueRef.current.findIndex(
(worktreeId) => !activeRequestWorktreeIdsRef.current.has(worktreeId)
)
if (queueIndex < 0) {
if (queueIndex === -1) {
break
}
const [worktreeId] = queueRef.current.splice(queueIndex, 1)