def install(
shell: Optional[str] = None
) -> Tuple[str, Path]:
- if shell in {"powershell", None}:
+ if shell is None:
+ shell = "powershell"
+ if shell == "powershell":
installed_path = install_powershell()
return shell, installed_path
else:
raise RuntimeError('Error!')