diff --git a/filewriter/filewriter_util.v b/filewriter/filewriter_util.v index a68b2fb..06365bd 100644 --- a/filewriter/filewriter_util.v +++ b/filewriter/filewriter_util.v @@ -7,7 +7,7 @@ fn (mut fw FileWriter) write_ofile() { fw.ofile.writeln(fw.content) return } - fw.ofile.write(fw.content) + fw.ofile.write_string(fw.content) } fn (mut fw FileWriter) create_dir() {