Skip to content

Commit 6e27dd5

Browse files
fix null check
1 parent 09aecc1 commit 6e27dd5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/solution/ProjectFilesProvider.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,12 @@ export class ProjectFilesProvider {
3333
workspaceRoot.uri.fsPath,
3434
path.dirname(projectFile.fsPath),
3535
);
36-
const { projects } = NugetDepsTree.generate(projectFile.fsPath);
3736

3837
const { projects } = NugetDepsTree.generate(projectFile.fsPath);
3938
if (projects.length === 0) {
4039
continue;
4140
}
42-
41+
4342
const [project] = projects;
4443
const hasEFDesignPackage =
4544
ProjectFilesProvider.getProjectPackage(

0 commit comments

Comments
 (0)