Skip to content
This repository was archived by the owner on Aug 9, 2025. It is now read-only.

Commit 630b206

Browse files
committed
Fixed #172
1 parent b1aa7ed commit 630b206

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

CPPCheckPlugin/CPPCheckPluginPackage.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -106,13 +106,13 @@ private async Task<dynamic> activeProjectAsync()
106106
return null;
107107
}
108108

109-
foreach (dynamic o in activeProjects)
109+
foreach (dynamic project in activeProjects)
110110
{
111-
if (!isVisualCppProject(o))
111+
if (!isVisualCppProject(project.Kind))
112112
{
113113
return null;
114114
}
115-
return o.Object;
115+
return project.Object;
116116
}
117117

118118
return null;

0 commit comments

Comments
 (0)