PIT CLI agenda sorting, FileIssue bug fixed.
* Fixed the bug in FileIssue where it would append a blank line to the body of an issue every time it wrote the issue to the file. Fixed by making the parser consume a line break before the property section. * Fixed PIT CLI -D option sorting of issues so that it will sort issues by priority, then due date.
This commit is contained in:
@ -27,8 +27,8 @@ public class IssuePegParser extends BaseParser<Object> {
|
||||
|
||||
Rule PropertyBlock() {
|
||||
return Sequence(push(makeNode()),
|
||||
HorizontalRule(), OneOrMore(EOL), TableSeparator(), EOL,
|
||||
OneOrMore(PropertyDefinition()), TableSeparator(),
|
||||
EOL, HorizontalRule(), OneOrMore(EOL), TableSeparator(),
|
||||
EOL, OneOrMore(PropertyDefinition()), TableSeparator(),
|
||||
addToNode("extProperties", pop())); }
|
||||
|
||||
Rule PropertyDefinition() {
|
||||
|
Reference in New Issue
Block a user