Skip to content

Commit da1d565

Browse files
committed
Remove PromiseLike usage from terminal contrib
Fixes microsoft#92646
1 parent 8279cc7 commit da1d565

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/vs/workbench/contrib/terminal/node/terminal.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ async function detectAvailableWindowsShells(): Promise<IShellDefinition[]> {
125125
// `${process.env['HOMEDRIVE']}\\cygwin\\bin\\bash.exe`
126126
// ]
127127
};
128-
const promises: PromiseLike<IShellDefinition | undefined>[] = [];
128+
const promises: Promise<IShellDefinition | undefined>[] = [];
129129
Object.keys(expectedLocations).forEach(key => promises.push(validateShellPaths(key, expectedLocations[key])));
130130
const shells = await Promise.all(promises);
131131
return coalesce(shells);

0 commit comments

Comments
 (0)