1
0
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:
Alexander Medvednikov
2021-08-28 09:39:18 +03:00
parent 853d3cb83e
commit 29f550158e
4 changed files with 4 additions and 4 deletions

View File

@@ -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')