Skip to content

Commit

Permalink
Replace \ with / on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
stuartwdouglas committed Jan 30, 2023
1 parent 5b0248a commit b8a2e0d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ public Set<String> getResourcePaths(final String path) {
if (file != null) {
Path base = res.getResourceManagerRootPath();
if (base == null) {
resources.add(file.toString()); //not much else we can do here
resources.add(file.toString().replace('\\', '/')); //not much else we can do here
} else {
String filePath = file.toAbsolutePath().toString().substring(base.toAbsolutePath().toString().length());
filePath = filePath.replace('\\', '/'); //for windows systems
Expand Down

0 comments on commit b8a2e0d

Please sign in to comment.