Fix invalid resource url on windows (#1537)

This commit is contained in:
Stein Martin Hustad
2020-10-23 11:35:52 +02:00
committed by GitHub
parent e4ed93acbf
commit a5f83f946a

View File

@@ -99,7 +99,7 @@ class StubRunnerFactory {
}
private Path resolvePath(File unpackedLocation) {
Resource resource = ResourceResolver.resource(unpackedLocation.getPath());
Resource resource = ResourceResolver.resource(unpackedLocation.toURI().toString());
Path path = unpackedLocation.toPath();
if (resource != null) {
try {