Skip to content

Commit

Permalink
Updated vulnerable library
Browse files Browse the repository at this point in the history
  • Loading branch information
breiler committed May 15, 2024
1 parent 9036c2e commit e1c16a3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
<ugs.junit.version>4.13.2</ugs.junit.version>
<ugs.hamcrest-core.version>2.2</ugs.hamcrest-core.version>
<ugs.maven-shade-plugin.version>3.4.1</ugs.maven-shade-plugin.version>
<ugs.progressbar.version>0.7.2</ugs.progressbar.version>
<ugs.progressbar.version>0.10.1</ugs.progressbar.version>
<ugs.commons-cli.version>1.4</ugs.commons-cli.version>
<ugs.easymock.version>5.2.0</ugs.easymock.version>
<ugs.maven-assembly-plugin.version>2.5.3</ugs.maven-assembly-plugin.version>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ This file is part of Universal Gcode Sender (UGS).
import com.willwinder.universalgcodesender.model.events.ControllerStateEvent;
import com.willwinder.universalgcodesender.model.events.FileState;
import com.willwinder.universalgcodesender.model.events.FileStateEvent;
import me.tongfei.progressbar.ConsoleProgressBarConsumer;
import me.tongfei.progressbar.ProgressBar;
import me.tongfei.progressbar.ProgressBarBuilder;
import me.tongfei.progressbar.ProgressBarStyle;
Expand All @@ -52,7 +53,7 @@ public void UGSEvent(UGSEvent event) {
.setStyle(ProgressBarStyle.UNICODE_BLOCK)
.setInitialMax(100)
.setTaskName(backend.getGcodeFile().getName())
.setPrintStream(System.out)
.setConsumer(new ConsoleProgressBarConsumer(System.out))
.build();
} else if(fileStateEvent.getFileState() == FileState.FILE_STREAM_COMPLETE) {
if (pb != null) {
Expand Down

0 comments on commit e1c16a3

Please sign in to comment.