mirror of
https://github.com/zaaarf/lillero-mapper.git
synced 2024-11-22 21:04:49 +01:00
fix: uri is not absolute error when giving linux paths
This commit is contained in:
parent
3000895130
commit
ea030e54b9
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@ public class MapperProvider {
|
|||
try {
|
||||
URI target = new URI(location);
|
||||
targetStream = target.toURL().openStream();
|
||||
} catch(URISyntaxException | IOException e) {
|
||||
} catch(URISyntaxException | IllegalArgumentException | IOException e) {
|
||||
//may be a local file path
|
||||
File f = new File(location);
|
||||
try {
|
||||
|
|
Loading…
Reference in a new issue