You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What is going on here is that its taking the line ${project.build.directory}/reports/json/\n to process, since that contains the check for \n, it is considered to be skipped and it continues to next token which there will not be one. Thus it skips printing that entirely as indicated. What it should be doing is checking that it even has more tokens to process. If it does not, it needs to continue on as it normally does so it does not skip writing data.
I'm working on a fix now including adding this example as a test case now.
The formatting output differs whether keepBlankLines and thus the BlankLinesWriter is used or not
Original unformatted xml
Format with keepBlankLines=false
Output:
Format with keepBlankLines=true
Actual:
Expected:
The text was updated successfully, but these errors were encountered: