fix repl_test.v

pull/3091/head
Alexander Medvednikov 2019-12-15 05:51:00 +03:00
parent 68357876ca
commit 54b0097cee
2 changed files with 1 additions and 3 deletions

2
v.v
View File

@ -35,7 +35,7 @@ fn main() {
return return
} }
// v run, v doc, etc // v run, v doc, etc
if !command.starts_with('-') && !os.exists(command) { if !command.starts_with('-') && !command.ends_with('.v') && !os.exists(command) {
v_command(command, args) v_command(command, args)
} }
// Print the version and exit. // Print the version and exit.

View File

@ -570,7 +570,6 @@ pub fn final_target_out_name(out_name string) string {
} }
pub fn (v V) run_compiled_executable_and_exit() { pub fn (v V) run_compiled_executable_and_exit() {
println('RUNNING')
args := env_vflags_and_os_args() args := env_vflags_and_os_args()
if v.pref.is_verbose { if v.pref.is_verbose {
println('============ running $v.out_name ============') println('============ running $v.out_name ============')
@ -586,7 +585,6 @@ pub fn (v V) run_compiled_executable_and_exit() {
break break
} }
} }
println(args_after)
cmd += args_after cmd += args_after
if v.pref.is_test { if v.pref.is_test {