Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
csv: ignore amount if any amountN's are assigned; improve error msg
The change for hledger 1.17.1 broke one of my csv rules, where I used `amount` but then tried to override it with `amountN`s in a conditional block; the two clashed. Now in that situation any `amountN`s take precedence, causing `amount` to be ignored entirely. Also clarified the "too many non-zero amounts" error message a bit.
- Loading branch information
1 parent
f574b78
commit e15eabd
Showing
2 changed files
with
10 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters