This restores the pre-1.50.3 behaviour of add and import, which once again auto-create a missing file (specified by -f or LEDGER_FILE or the builtin default path) rather than giving an error. This fixes #2514 and refines the fix for [#2485]. There's also an improvement: they no longer create it unconditionally at the start; they create lazily, when they have data to write. Hledger.Read: defaultExistingJournalPath defaultExistingJournalPathSafely readPossibleJournalFile Hledger.Cli.Utils: withPossibleJournal |
||
|---|---|---|
| .. | ||
| Hledger | ||
| test | ||
| Text | ||
| .date.m4 | ||
| .ghci | ||
| .version | ||
| .version.m4 | ||
| CHANGES.md | ||
| hledger-lib.cabal | ||
| Hledger.hs | ||
| LICENSE | ||
| package.yaml | ||
| README.md | ||
| Setup.hs | ||
hledger-lib
A reusable library containing hledger’s core functionality. This is used by most hledger* packages so that they support the same common file formats, command line options, reports etc.
See also: the project README and home page.