You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "slawekjaranowski (via GitHub)" <gi...@apache.org> on 2025/01/13 15:07:49 UTC

Re: [PR] Improve enforcer rule error messages [maven-enforcer]

slawekjaranowski commented on code in PR #343:
URL: https://github.com/apache/maven-enforcer/pull/343#discussion_r1913342896


##########
enforcer-rules/src/main/java/org/apache/maven/enforcer/rules/files/AbstractRequireFiles.java:
##########
@@ -93,21 +93,36 @@ private void fail(List<File> failures) throws EnforcerRuleException {
 
         StringBuilder buf = new StringBuilder();
         if (message != null) {
-            buf.append(message + System.lineSeparator());
+            buf.append(message + '\n');

Review Comment:
   I'm not sure how it will be worked on windows console .... 
   Can anybody confirm ...
   @michael-o @Bukama



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org