1
0
mirror of https://github.com/Eugeny/tabby.git synced 2025-08-15 13:51:52 +00:00
This commit is contained in:
Eugene Pankov
2022-09-28 22:56:08 +02:00
parent f57ca9fc56
commit d3d09dfd44

@@ -74,7 +74,7 @@ export class WindowsStockShellsProvider extends ShellProvider {
private async getPowerShellPath () { private async getPowerShellPath () {
for (const name of ['pwsh.exe', 'powershell.exe']) { for (const name of ['pwsh.exe', 'powershell.exe']) {
if (await promisify(hasbin)(name)) { if (await new Promise(resolve => hasbin(name, resolve))) {
return name return name
} }
} }