Skip to content

Commit

Permalink
Fix #252
Browse files Browse the repository at this point in the history
  • Loading branch information
decebals committed Nov 25, 2018
1 parent 935a724 commit 769ad8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pf4j/src/main/java/org/pf4j/util/FileUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ public static boolean isJarFile(Path path) {
public static Path getPath(Path path, String first, String... more) throws IOException {
URI uri = path.toUri();
if (isJarFile(path)) {
String pathString = path.toString();
String pathString = path.toAbsolutePath().toString();
// transformation for Windows OS
pathString = StringUtils.addStart(pathString.replace("\\", "/"), "/");
// space is replaced with %20
Expand Down

0 comments on commit 769ad8c

Please sign in to comment.