Piotr Czajkowski 3 zile în urmă
părinte
comite
0eade4cd86
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      ExcelORM/ExcelORM/ExcelWriter.cs

+ 1 - 1
ExcelORM/ExcelORM/ExcelWriter.cs

@@ -83,7 +83,7 @@ public class ExcelWriter : IDisposable
         List<Mapping>? mapping = [];
 
         var lastRow = worksheet.LastRowUsed();
-        if (lastRow == null && append) append = false;
+        if (lastRow == null) append = false;
         
         var rowIndex = (append, startFrom: appendFrom) switch
         {