mirror of
https://github.com/vlang/v.git
synced 2025-09-13 14:32:26 +03:00
vrepl: minor cleanup in current_source_code() (#21863)
This commit is contained in:
parent
510500d21b
commit
5c2d64a235
1 changed files with 1 additions and 2 deletions
|
@ -183,8 +183,7 @@ fn (r &Repl) import_to_source_code() []string {
|
|||
}
|
||||
|
||||
fn (r &Repl) current_source_code(should_add_temp_lines bool, not_add_print bool) string {
|
||||
mut all_lines := []string{}
|
||||
all_lines.insert(0, r.import_to_source_code())
|
||||
mut all_lines := r.import_to_source_code()
|
||||
|
||||
if vstartup != '' {
|
||||
mut lines := []string{}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue