Skip to content

Commit 5a33fc1

Browse files
authored
fix: ensure options are passed to python envs (#25001)
1 parent 43285f6 commit 5a33fc1

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/client/pythonEnvironments/creation/createEnvApi.ts

+4-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,10 @@ export function registerCreateEnvironmentFeatures(
7272
): Promise<CreateEnvironmentResult | undefined> => {
7373
if (useEnvExtension()) {
7474
try {
75-
const result = await executeCommand<PythonEnvironment | undefined>('python-envs.createAny');
75+
const result = await executeCommand<PythonEnvironment | undefined>(
76+
'python-envs.createAny',
77+
options,
78+
);
7679
if (result) {
7780
return { path: result.environmentPath.path };
7881
}

0 commit comments

Comments
 (0)