Skip to content

Commit 9618672

Browse files
committed
remove extra promise
1 parent 9c9d03d commit 9618672

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/managers/poetry/poetryUtils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ async function nativeToPythonEnv(
227227
api: PythonEnvironmentApi,
228228
manager: EnvironmentManager,
229229
_poetry: string,
230-
): Promise<Promise<PythonEnvironment | undefined>> {
230+
): Promise<PythonEnvironment | undefined> {
231231
if (!(info.prefix && info.executable && info.version)) {
232232
traceError(`Incomplete poetry environment info: ${JSON.stringify(info)}`);
233233
return undefined;

0 commit comments

Comments
 (0)