Skip to content

Commit d8b6d9a

Browse files
committed
Merge pull request #5883 from Vedran Pavić
* gh-5883: Ignore special variable related JVM output in CommandLineInvoker
2 parents 9e4eb03 + a1ac934 commit d8b6d9a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

spring-boot-cli/src/it/java/org/springframework/boot/cli/infrastructure/CommandLineInvoker.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,9 @@ private List<String> getLines(StringBuffer buffer) {
144144
List<String> lines = new ArrayList<String>();
145145
try {
146146
while ((line = reader.readLine()) != null) {
147-
lines.add(line);
147+
if (!line.startsWith("Picked up ")) {
148+
lines.add(line);
149+
}
148150
}
149151
}
150152
catch (IOException ex) {

0 commit comments

Comments
 (0)