Skip to content

Commit 068cba2

Browse files
committed
Update VerifyClosedXml.cs
1 parent 91517fe commit 068cba2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Verify.ClosedXml/VerifyClosedXml.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ static ConversionResult Convert(string? targetName, XLWorkbook book)
115115

116116
static IEnumerable<(StringBuilder Csv, string? Name)> Convert(XLWorkbook document)
117117
{
118-
var current = Counter.Current;
118+
var counter = Counter.Current;
119119
foreach (var sheet in document.Worksheets)
120120
{
121121
var builder = new StringBuilder();
@@ -124,7 +124,7 @@ static ConversionResult Convert(string? targetName, XLWorkbook book)
124124
{
125125
foreach (var cell in row.Cells())
126126
{
127-
var (value, replaceCellValue) = GetCellValue(cell, current);
127+
var (value, replaceCellValue) = GetCellValue(cell, counter);
128128
builder.Append(Csv.Escape(value));
129129

130130
if (replaceCellValue)

0 commit comments

Comments
 (0)