Fix dialect command check

This commit is contained in:
crschnick
2023-11-21 11:39:46 +00:00
parent 77df569c46
commit fe2a1ffa5e
2 changed files with 5 additions and 1 deletions

View File

@@ -23,6 +23,10 @@ public class ShellDialects {
public static ShellDialect UNSUPPORTED;
public static ShellDialect CISCO;
public static List<ShellDialect> getStartableDialects() {
return ALL.stream().filter(dialect -> dialect.getOpenCommand() != null).toList();
}
public static class Loader implements ModuleLayerLoader {
@Override