Skip to content

Commit fadaa4e

Browse files
committed
minor error
1 parent 806e5e7 commit fadaa4e

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/features/envCommands.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import {
33
CreateEnvironmentOptions,
44
PythonEnvironment,
55
PythonEnvironmentApi,
6-
PythonProject,
76
PythonProjectCreator,
87
PythonProjectCreatorOptions,
98
} from '../api';
@@ -377,10 +376,8 @@ export async function addPythonProjectCommand(
377376
return;
378377
}
379378

380-
381-
let results: PythonProject | PythonProject[] | undefined;
382379
try {
383-
results = await creator.create(options);
380+
const results = await creator.create(options);
384381
if (results === undefined) {
385382
return;
386383
}

0 commit comments

Comments
 (0)