mirror of
https://github.com/apache/zeppelin
synced 2026-05-24 09:38:26 +00:00
ZEPPELIN-804 Refactoring registration mechanism on Interpreters
- Checked if path exists or not
This commit is contained in:
parent
844dccb591
commit
1b3cd0ca2e
1 changed files with 1 additions and 1 deletions
|
|
@ -124,7 +124,7 @@ public class InterpreterFactory implements InterpreterGroupFactory {
|
|||
new DirectoryStream.Filter<Path>() {
|
||||
@Override
|
||||
public boolean accept(Path entry) throws IOException {
|
||||
return Files.isDirectory(entry);
|
||||
return Files.exists(entry) && Files.isDirectory(entry);
|
||||
}
|
||||
})) {
|
||||
String interpreterDirString = interpreterDir.toString();
|
||||
|
|
|
|||
Loading…
Reference in a new issue