Skip to content

Commit 8da70c7

Browse files
committed
fix variable name
1 parent c68abc9 commit 8da70c7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/coverlet.console/Program.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -204,17 +204,17 @@ string excludeAssembliesWithoutSources
204204

205205
var thresholdTypeFlagQueue = new Queue<ThresholdTypeFlags>();
206206

207-
foreach (string thresholdTyp in thresholdType)
207+
foreach (string thresholdMode in thresholdType)
208208
{
209-
if (thresholdTyp.Equals("line", StringComparison.OrdinalIgnoreCase))
209+
if (thresholdMode.Equals("line", StringComparison.OrdinalIgnoreCase))
210210
{
211211
thresholdTypeFlagQueue.Enqueue(ThresholdTypeFlags.Line);
212212
}
213-
else if (thresholdTyp.Equals("branch", StringComparison.OrdinalIgnoreCase))
213+
else if (thresholdMode.Equals("branch", StringComparison.OrdinalIgnoreCase))
214214
{
215215
thresholdTypeFlagQueue.Enqueue(ThresholdTypeFlags.Branch);
216216
}
217-
else if (thresholdTyp.Equals("method", StringComparison.OrdinalIgnoreCase))
217+
else if (thresholdMode.Equals("method", StringComparison.OrdinalIgnoreCase))
218218
{
219219
thresholdTypeFlagQueue.Enqueue(ThresholdTypeFlags.Method);
220220
}

0 commit comments

Comments
 (0)