Fix exception thrown in dev
This commit is contained in:
parent
084b30e089
commit
7868bd90ee
|
|
@ -43,6 +43,8 @@ public class ModernFixResourceFinder {
|
|||
IModLocator locator = file.getLocator();
|
||||
Iterable<Path> rootPath = getRootPathForLocator(locator, file);
|
||||
for(Path root : rootPath) {
|
||||
if(!Files.exists(root))
|
||||
continue;
|
||||
try(Stream<Path> stream = Files.walk(root)) {
|
||||
stream
|
||||
.map(root::relativize)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user