Skip to content

Commit ff10d50

Browse files
committed
Fix packwiz log displaying twice
1 parent 426bd74 commit ff10d50

File tree

1 file changed

+0
-4
lines changed
  • src/main/java/com/lx862/pwgui/executable

1 file changed

+0
-4
lines changed

src/main/java/com/lx862/pwgui/executable/Task.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,6 @@ public Task(String taskName, ExecutorService defaultExecutor) {
1919
this.defaultExecutor = defaultExecutor;
2020
this.outputListeners = new ArrayList<>();
2121
this.exitListeners = new ArrayList<>();
22-
23-
onOutput((output) -> { // Display log when we got a new line
24-
PWGUI.LOGGER.info("[" + taskName + "]", output.content());
25-
});
2622
}
2723

2824
public Task onOutput(Consumer<OutputMessage> consumer) {

0 commit comments

Comments
 (0)