mirror of
https://github.com/stablyai/orca.git
synced 2026-10-22 16:03:47 +00:00
fix(workspace-cleanup): satisfy scan queue lint
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user