mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
all: update chdir usages
This commit is contained in:
@@ -133,7 +133,7 @@ const (
|
||||
fn main() {
|
||||
vexe := pref.vexe_path()
|
||||
vroot := os.dir(vexe)
|
||||
os.chdir(vroot)
|
||||
os.chdir(vroot) or { panic(err) }
|
||||
args := os.args.clone()
|
||||
args_string := args[1..].join(' ')
|
||||
cmd_prefix := args_string.all_before('test-self')
|
||||
|
||||
Reference in New Issue
Block a user