There was an error while loading. Please reload this page.
1 parent 29adb8f commit 8be258eCopy full SHA for 8be258e
1 file changed
runtime/src/main/java/dev/vankka/dependencydownload/DependencyManager.java
@@ -473,11 +473,11 @@ private CompletableFuture<Void>[] forEachDependency(
473
Runnable run = () -> {
474
try {
475
boolean stepPerformed = runnable.run(dependency);
476
- future.complete(null);
477
-
478
if (stepPerformed) {
479
successLog.accept(dependency);
480
}
+
+ future.complete(null);
481
} catch (Throwable t) {
482
future.completeExceptionally(dependencyException.apply(dependency, t));
483
failLog.accept(dependency, t);
0 commit comments