slashes fix issues with some java versions
This commit is contained in:
1 parent
647a3a15b6
commit
6fc38d6ec1
1 file changed
+1
-1
@@ -249,7 +249,7 @@ public class FileArgument
|
|||||||
strings = result.map(p -> {
|
strings = result.map(p -> {
|
||||||
if (zipContainer == null)
|
if (zipContainer == null)
|
||||||
return rootPath.relativize(p).toString().replaceAll("[\\\\/]+", "/");
|
return rootPath.relativize(p).toString().replaceAll("[\\\\/]+", "/");
|
||||||
return (zipComponent + p.toString()).replaceAll("[\\\\/]+", "/");
|
return (zipComponent + '/'+ p.toString()).replaceAll("[\\\\/]+", "/");
|
||||||
});
|
});
|
||||||
} }
|
} }
|
||||||
finally
|
finally
|
||||||
|
|||||||
Reference in new issue
Block a user