hledger/hledger-lib/Hledger
Simon Michael 9ccc1d3fa5 fix:add,import,web: really avoid filenames ending with . on Windows [#1056]
On MS Windows, trying to add or import or web add to a file whose name
ends with a dot could cause data loss, so in 2019 I made this raise an
error instead (in Hledger.Read.ensureJournalFileExists).

But, the logic was backward, so it did not do the check on Windows.
Now it does.

Also I have removed mention of this from add's doc; currently it's
not documented anywhere. It's obscure, but maybe this is not ideal.
2024-01-04 17:35:22 -10:00
..
Data
Read
Reports
Utils
Data.hs
Query.hs
Read.hs fix:add,import,web: really avoid filenames ending with . on Windows [#1056] 2024-01-04 17:35:22 -10:00
Reports.hs
Utils.hs