Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
microsoft
GitHub Repository: microsoft/vscode
Path: blob/main/extensions/copilot/src/extension/test/node/fixtures/pseudodiff/07-indent1-one.diff
13406 views
1
def install(
2
shell: Optional[str] = None
3
) -> Tuple[str, Path]:
4
if shell in {"powershell", None}:
5
installed_path = install_powershell()
6
- return shell, installed_path
7
+ return shell or "powershell", installed_path
8
else:
9
raise RuntimeError('Error!')
10