Fix : c'mieux quand je réfléchis correctement
continuous-integration/drone/push Build is passing Details

pull/37/head
Jade VAN BRABANDT 2 years ago
parent c9dc0c30a7
commit 77f5a566e9

@ -71,9 +71,12 @@ public partial class Chapters
{ {
using (var csvFile = new ChoCSVWriter(sb).WithFirstLineHeader()) using (var csvFile = new ChoCSVWriter(sb).WithFirstLineHeader())
{ {
csvFile.Write(json); csvFile.Write(jsonFile);
} }
} }
string path = @"C:\temp\file"; // path to file string path = @"C:\temp\file"; // path to file
using (FileStream fs = File.Create(path)) using (FileStream fs = File.Create(path))
{ {
@ -85,5 +88,6 @@ public partial class Chapters
byte[] data = new byte[] { 0x0 }; byte[] data = new byte[] { 0x0 };
fs.Write(data, 0, data.Length); fs.Write(data, 0, data.Length);
} }
} }
} }
Loading…
Cancel
Save