From 0def853c730722bb932c9b1cf87655bde1d3ddb6 Mon Sep 17 00:00:00 2001 From: Keith Hill Date: Thu, 26 Oct 2017 09:06:50 -0600 Subject: [PATCH] Add missing 'l' to path --- src/platform.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/platform.ts b/src/platform.ts index 7016da90fe..b1109f75de 100644 --- a/src/platform.ts +++ b/src/platform.ts @@ -73,7 +73,7 @@ export function getDefaultPowerShellPath( } else if (platformDetails.operatingSystem == OperatingSystem.MacOS) { powerShellExePath = "/usr/local/bin/powershell"; - if (fs.existsSync("/usr/loca/bin/pwsh")) { + if (fs.existsSync("/usr/local/bin/pwsh")) { powerShellExePath = "/usr/local/bin/pwsh"; } }