Skip to content

Commit 3f41a54

Browse files
committed
fix based on feedback
1 parent 02e5ce1 commit 3f41a54

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/features/projectManager.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ export class PythonProjectManagerImpl implements PythonProjectManager {
6767

6868
// For each override, resolve its path and add as a project if not already present
6969
for (const o of overrides) {
70-
let UriFromWorkspace: Uri | undefined = undefined;
70+
let uriFromWorkspace: Uri | undefined = undefined;
7171
// if override has a workspace property, resolve the path relative to that workspace
7272
if (o.workspace) {
7373
//
@@ -76,13 +76,13 @@ export class PythonProjectManagerImpl implements PythonProjectManager {
7676
if (workspaceFolder.uri.toString() !== w.uri.toString()) {
7777
continue; // skip if the workspace is not the same as the current workspace
7878
}
79-
UriFromWorkspace = Uri.file(path.resolve(workspaceFolder.uri.fsPath, o.path));
79+
uriFromWorkspace = Uri.file(path.resolve(workspaceFolder.uri.fsPath, o.path));
8080
}
8181
}
82-
const uri = UriFromWorkspace ? UriFromWorkspace : Uri.file(path.resolve(w.uri.fsPath, o.path));
82+
const uri = uriFromWorkspace ? uriFromWorkspace : Uri.file(path.resolve(w.uri.fsPath, o.path));
8383

8484
// Check if the project already exists in the newProjects array
85-
if (!newProjects.some((p) => p.uri.toString() === uri.toString())) {
85+
if (!newProjects.some((p) => p.uri.toString() === uri.toString())) {
8686
newProjects.push(new PythonProjectsImpl(o.path, uri));
8787
}
8888
}

0 commit comments

Comments
 (0)