Skip to content

Commit b6edc9f

Browse files
committed
fix add
1 parent 3c70767 commit b6edc9f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/features/envCommands.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,8 @@ export async function addPythonProjectCommand(
352352
return;
353353
}
354354
if (resource instanceof ProjectItem) {
355-
// If the context is a ProjectItem, project is already created.
355+
// If the context is a ProjectItem, project is already created. Just add it to the package manager project list.
356+
wm.add(resource.project);
356357
return;
357358
}
358359
let options: PythonProjectCreatorOptions | undefined;

0 commit comments

Comments
 (0)