Only process lines that contain :: should fix an odd StringIndexOutOfBoundsException
parent
61e60b28d2
commit
5a607963b5
|
@ -93,7 +93,7 @@ public class FernFlowerTask extends AbstractDecompileTask implements ForkingJava
|
||||||
spec.setArgs(args);
|
spec.setArgs(args);
|
||||||
spec.setErrorOutput(System.err);
|
spec.setErrorOutput(System.err);
|
||||||
spec.setStandardOutput(new ConsumingOutputStream(line -> {
|
spec.setStandardOutput(new ConsumingOutputStream(line -> {
|
||||||
if (line.startsWith("Listening for transport")) {
|
if (line.startsWith("Listening for transport") || !line.contains("::")) {
|
||||||
System.out.println(line);
|
System.out.println(line);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue