summaryrefslogtreecommitdiff
path: root/Omni/Task
diff options
context:
space:
mode:
authorOmni Worker <bot@omni.agent>2025-11-22 06:54:04 -0500
committerOmni Worker <bot@omni.agent>2025-11-22 06:54:04 -0500
commit146ca664e045ed735c58e887ff396e1cef16e76a (patch)
tree876a3c9bbf382cea4a2b7df9f6381adf79d76f95 /Omni/Task
parenta4176da77f770adc1df599289d132bb7ac1d94d1 (diff)
fix: remove unused binding and fix test argument
Amp-Thread-ID: https://ampcode.com/threads/T-ec034efc-0ef1-43df-8abe-b0cda0f9115b Co-authored-by: Amp <amp@ampcode.com>
Diffstat (limited to 'Omni/Task')
-rw-r--r--Omni/Task/Core.hs5
1 files changed, 0 insertions, 5 deletions
diff --git a/Omni/Task/Core.hs b/Omni/Task/Core.hs
index 29aca85..b17c2aa 100644
--- a/Omni/Task/Core.hs
+++ b/Omni/Task/Core.hs
@@ -105,11 +105,6 @@ normalizeId = T.toLower
-- | Find a task by ID (case-insensitive)
findTask :: Text -> [Task] -> Maybe Task
findTask tid = List.find (\t -> matchesId (taskId t) tid)
- where
- -- Helper to check if IDs match
- -- matchesId is already defined globally but we can use it directly
- -- The lambda above is fine.
- () = ()
-- | Normalize task IDs (self, parent, dependencies) to lowercase
normalizeTask :: Task -> Task