fix:timeclock: change misleadding error message in --old-timeclock mode

This commit is contained in:
Simon Michael 2025-09-01 08:49:11 +01:00
parent 9849f196cb
commit 65eb0b1f78
2 changed files with 0 additions and 2 deletions

View File

@ -184,7 +184,6 @@ timeclockToTransactions now entries0 = transactions
errorExpectedCodeButGot :: TimeclockCode -> TimeclockEntry -> a
errorExpectedCodeButGot expected actual = error' $ printf
("%s:\n%s\n%s\n\nExpected a timeclock %s entry but got %s.\n"
++"Only one session may be clocked in at a time.\n"
++"Please alternate i and o, beginning with i.")
(sourcePosPretty $ tlsourcepos actual)
(l ++ " | " ++ show actual)

View File

@ -354,7 +354,6 @@ hledger: Error: /Users/simon/src/hledger/hledger/test/errors/./tcorderedactions.
| ^
Expected a timeclock o entry but got i.
Only one session may be clocked in at a time.
Please alternate i and o, beginning with i.
```