Skip to content

Commit 2e9bfe9

Browse files
authored
use os.file.write_string instead reguler []byte param (#3)
1 parent f0e00fc commit 2e9bfe9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

filewriter/filewriter_util.v

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ fn (mut fw FileWriter) write_ofile() {
77
fw.ofile.writeln(fw.content)
88
return
99
}
10-
fw.ofile.write(fw.content)
10+
fw.ofile.write_string(fw.content)
1111
}
1212

1313
fn (mut fw FileWriter) create_dir() {

0 commit comments

Comments
 (0)