Skip to content

Commit

Permalink
fix: display version of installed hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
grigoriev committed Jul 3, 2024
1 parent 16792d9 commit c427873
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public class HookManifestUtils {

if (codeSource != null) {
URL location = codeSource.getLocation();
Path jarPath = Paths.get(location.toURI());
Path jarPath = Paths.get(location.getPath());

if (Files.isRegularFile(jarPath)) {
try (JarFile jarFile = new JarFile(jarPath.toFile())) {
Expand Down

0 comments on commit c427873

Please sign in to comment.