Skip to content

Commit d033b8b

Browse files
committed
remove additional location of opening
1 parent 02e1694 commit d033b8b

1 file changed

Lines changed: 2 additions & 7 deletions

File tree

src/features/envCommands.ts

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -434,12 +434,7 @@ export async function addPythonProjectCommand(
434434
quickCreate: true,
435435
};
436436
}
437-
const result = await existingProjectsCreator.create(options);
438-
439-
// If the creator returns a Uri (like a script file), open it in the editor
440-
if (result instanceof Uri) {
441-
await showTextDocument(result);
442-
}
437+
await existingProjectsCreator.create(options);
443438
return;
444439
} catch (ex) {
445440
if (ex === QuickInputButtons.Back) {
@@ -458,7 +453,7 @@ export async function addPythonProjectCommand(
458453

459454
try {
460455
const result = await creator.create(options);
461-
456+
462457
// If the creator returns a Uri (like a script file), open it in the editor
463458
if (result instanceof Uri) {
464459
await showTextDocument(result);

0 commit comments

Comments
 (0)