mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
fix repl_test.v
This commit is contained in:
parent
68357876ca
commit
54b0097cee
2
v.v
2
v.v
@ -35,7 +35,7 @@ fn main() {
|
||||
return
|
||||
}
|
||||
// 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)
|
||||
}
|
||||
// Print the version and exit.
|
||||
|
@ -570,7 +570,6 @@ pub fn final_target_out_name(out_name string) string {
|
||||
}
|
||||
|
||||
pub fn (v V) run_compiled_executable_and_exit() {
|
||||
println('RUNNING')
|
||||
args := env_vflags_and_os_args()
|
||||
if v.pref.is_verbose {
|
||||
println('============ running $v.out_name ============')
|
||||
@ -586,7 +585,6 @@ pub fn (v V) run_compiled_executable_and_exit() {
|
||||
break
|
||||
}
|
||||
}
|
||||
println(args_after)
|
||||
cmd += args_after
|
||||
|
||||
if v.pref.is_test {
|
||||
|
Loading…
Reference in New Issue
Block a user