mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
REPL: fix repl using older binary on piping
repl: delete binary files when exiting
This commit is contained in:
parent
81cdda842c
commit
146a9507c6
@ -1301,6 +1301,8 @@ fn run_repl() []string {
|
||||
defer {
|
||||
os.rm(file)
|
||||
os.rm(temp_file)
|
||||
os.rm(file.left(file.len - 2))
|
||||
os.rm(temp_file.left(temp_file.len - 2))
|
||||
}
|
||||
mut lines := []string
|
||||
vexe := os.args[0]
|
||||
|
Loading…
Reference in New Issue
Block a user