mirror of
https://github.com/ICDSystems/ICD.Common.Utils.git
synced 2026-02-16 05:05:05 +00:00
fix: Fixed NullReferenceException when writing null strings to CSV
This commit is contained in:
@@ -79,6 +79,8 @@ namespace ICD.Common.Utils.Csv
|
||||
[PublicAPI]
|
||||
public void AppendValue(string value)
|
||||
{
|
||||
value = value ?? string.Empty;
|
||||
|
||||
if (!m_NewLine)
|
||||
m_Writer.WrappedTextWriter.Write(m_Seperator);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user