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-two.diff
13406 views
1
def install(
2
shell: Optional[str] = None
3
) -> Tuple[str, Path]:
4
- if shell in {"powershell", None}:
5
+ if shell is None:
6
+ shell = "powershell"
7
+ if shell == "powershell":
8
installed_path = install_powershell()
9
return shell, installed_path
10
else:
11
raise RuntimeError('Error!')
12