mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
os.File clean up + socket.v (dial())
This commit is contained in:
@@ -68,7 +68,7 @@ fn (g mut CGen) gen(s string) {
|
||||
|
||||
fn (g mut CGen) save() {
|
||||
s := g.lines.join('\n')
|
||||
g.out.appendln(s)
|
||||
g.out.writeln(s)
|
||||
g.out.close()
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user