Skip to content

Commit

Permalink
use os.file.write_string instead reguler []byte param (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
heronimus authored Jan 22, 2021
1 parent f0e00fc commit 2e9bfe9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion filewriter/filewriter_util.v
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 2e9bfe9

Please sign in to comment.