mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
vlib/net: add buffered IO, x.net -> net (#6754)
This commit is contained in:
@@ -107,7 +107,7 @@ fn (am AssetManager) combine(asset_type string, to_file bool) string {
|
||||
mut file := os.create(out_file) or {
|
||||
panic(err)
|
||||
}
|
||||
file.write(out)
|
||||
file.write(out.bytes())
|
||||
file.close()
|
||||
return out_file
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user