Skip to content

Commit

Permalink
Merge pull request #15740 from iterate-ch/bugfix/GH-15739
Browse files Browse the repository at this point in the history
Fix #15739.
  • Loading branch information
dkocher committed Mar 19, 2024
2 parents 37b38a3 + 076e0d2 commit 2c2e8b8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ public AttributedList<Path> list(final Path directory, final ListProgressListene
}

private String createPrefix(final Path directory) {
return containerService.isContainer(directory) ? StringUtils.EMPTY :
return containerService.isContainer(directory) ? null :
directory.isDirectory() ? String.format("%s%s", containerService.getKey(directory), Path.DELIMITER) : containerService.getKey(directory);
}

Expand Down

0 comments on commit 2c2e8b8

Please sign in to comment.