We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2766a10 commit ef62003Copy full SHA for ef62003
plugin/src/main/java/org/jenkinsci/plugins/workflow/cps/CpsFlowExecution.java
@@ -680,7 +680,7 @@ protected static Throwable reportSuspectedMethodTooLarge(Throwable x) {
680
Throwable mtlEx = null;
681
int ecCount = 0;
682
String xStr = Functions.printThrowable(x); // includes x.getMessage() contents
683
- final Pattern LINE_SEP_PATTERN = Pattern.compile("\\R");
+ final Pattern LINE_SEP_PATTERN = Pattern.compile("\r?\n");
684
String[] xLines = LINE_SEP_PATTERN.split(xStr);
685
686
if (x.getClass().getSimpleName().equals("MethodTooLargeException")) {
0 commit comments