Piotr Czajkowski hace 3 días
padre
commit
0eade4cd86
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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
         {