1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

os api: basedir => base_dir

This commit is contained in:
yuyi
2020-03-08 22:43:56 +08:00
committed by GitHub
parent 2bed0d1bb5
commit 23b11c84b1
8 changed files with 11 additions and 11 deletions

View File

@ -780,7 +780,7 @@ pub fn (v &V) get_user_files() []string {
v.log('> That brings in all other ordinary .v files in the same module too .')
}
user_files << single_test_v_file
dir = os.basedir(single_test_v_file)
dir = os.base_dir(single_test_v_file)
}
if dir.ends_with('.v') || dir.ends_with('.vsh') {
single_v_file := dir