You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just as the title says, when I'm writing to a file which is using a stream with the append argument set to true, the CSVWriter is writing the first row on the last already written row.
Then it works properly.
The text was updated successfully, but these errors were encountered:
I did a workaround by writing try! csv.write(row: [""]) before appending the actual row. Then it creates a new row. 😁
@yaslab.. In my case When i append to an existing csv created by another library that worked fine.. but when i created a new csv using this library and then tried to append.... i had the same issue and fixed as @akshit5230 did but wondering what is the actual issue so that we can fix it properly and we can use it without any kind of issue.
Just as the title says, when I'm writing to a file which is using a stream with the append argument set to true, the CSVWriter is writing the first row on the last already written row.
Then it works properly.
The text was updated successfully, but these errors were encountered: