mirror of
https://github.com/xpipe-io/xpipe.git
synced 2026-05-18 21:37:22 -04:00
[release]
This commit is contained in:
@@ -48,7 +48,11 @@ public class ShellDialects {
|
||||
return false;
|
||||
}
|
||||
|
||||
return sc.getShellDialect().equals(POWERSHELL) || sc.getShellDialect().equals(POWERSHELL_CORE);
|
||||
return isPowershell(sc.getShellDialect());
|
||||
}
|
||||
|
||||
public static boolean isPowershell(ShellDialect d) {
|
||||
return d == POWERSHELL || d == POWERSHELL_CORE;
|
||||
}
|
||||
|
||||
public static Optional<ShellDialect> byNameIfPresent(String name) {
|
||||
|
||||
Reference in New Issue
Block a user