mirror of
https://github.com/simonmichael/hledger.git
synced 2024-10-06 10:57:30 +03:00
fix: bin: Remove old function in hledger-print-location.
This commit is contained in:
parent
1aff74f702
commit
28b52fcca5
@ -43,7 +43,7 @@ main = do
|
||||
addLocationTag :: Transaction -> Transaction
|
||||
addLocationTag t = t{tcomment = tcomment t `commentAddTagNextLine` loctag}
|
||||
where
|
||||
loctag = ("location", T.pack . showSourcePosPair $ tsourcepos t)
|
||||
loctag = ("location", T.pack . sourcePosPairPretty $ tsourcepos t)
|
||||
|
||||
-- Like showSourcePosPair in Hledger.Data.Transaction, but show just the starting line number.
|
||||
showSourcePosPairLine :: (SourcePos, SourcePos) -> String
|
||||
|
Loading…
Reference in New Issue
Block a user