mirror of
https://github.com/xpipe-io/xpipe.git
synced 2026-04-24 16:40:58 -04:00
Fix dialect command check
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user