diff options
| author | Omni Worker <bot@omni.agent> | 2025-11-21 18:09:01 -0500 |
|---|---|---|
| committer | Omni Worker <bot@omni.agent> | 2025-11-21 18:09:01 -0500 |
| commit | 7d3c3d1e660b901ef0d4c36b2d352aeb74f96553 (patch) | |
| tree | 9826dcdd0e932dc40dd4b989822989b388186d2a /Omni/Task/Core.hs | |
| parent | b3ac9eecfd853f56670ed62bfbd64584488dfd3c (diff) | |
style: fix linting
Amp-Thread-ID:
https://ampcode.com/threads/T-79499d9e-f4f4-40de-893c-524c32a45483
Co-authored-by: Amp <amp@ampcode.com>
Diffstat (limited to 'Omni/Task/Core.hs')
| -rw-r--r-- | Omni/Task/Core.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Omni/Task/Core.hs b/Omni/Task/Core.hs index 24bb31c..bab1912 100644 --- a/Omni/Task/Core.hs +++ b/Omni/Task/Core.hs @@ -268,7 +268,7 @@ loadTasksInternal = do taskStatus' = KM.lookup "taskStatus" obj +> parseMaybe Aeson.parseJSON taskCreatedAt' = KM.lookup "taskCreatedAt" obj +> parseMaybe Aeson.parseJSON taskUpdatedAt' = KM.lookup "taskUpdatedAt" obj +> parseMaybe Aeson.parseJSON - + -- Extract taskDescription (new field) taskDescription' = KM.lookup "taskDescription" obj +> parseMaybe Aeson.parseJSON @@ -645,7 +645,7 @@ showTaskDetailed t = do putText "" putText "Dependencies:" traverse_ printDependency (taskDependencies t) - + -- Show description case taskDescription t of Nothing -> pure () |
