add: allow removing libraries in vanilla installation

This commit is contained in:
huanghongxun
2020-03-16 22:49:15 +08:00
parent bde76707f3
commit 6a982b2a5c
7 changed files with 193 additions and 196 deletions

View File

@@ -132,8 +132,7 @@ public class DefaultDependencyManager extends AbstractDependencyManager {
throw new UnsupportedLibraryInstallerException();
})
.thenApplyAsync(oldVersion::addPatch)
.thenComposeAsync(repository::save);
.thenApplyAsync(oldVersion::addPatch);
}
public static class UnsupportedLibraryInstallerException extends Exception {